Yea, this was triggered when the Dr prescribed me cannabis oil. Even after I stopped I still have memory episodes, where it feels like I lose control of my body and get stuck in random memories of my past which I couldn't normally recall. I thought those were just forgotten, but now I'm thinking the mind never actually forgets anything... it's always there, forever, just waiting to come up, and I hate it. I fucking hate it.
If you have similar episodes all I've found you can do is just wait it out, and try to touch things, listen to sounds, look at things. Idk if it actually helps, but you'll snap out of it eventually. It does pass. The memory stays with you though lmao
Just realize that it was the past you. Now you're different, and would do different things. The past you is not the present you. It still hurts, but maybe we can be nicer people? idk if this is just ultimate cope