I hope someone has advice for you that has experienced this. Maybe you could do some practice in bringing yourself out of it with a certain cue word? It sounds a bit like self hypnosis.