Once in real life I was in a forest and I came to the edge of a rocky cliff. I suddenly got the notion that maybe I was dreaming and felt an urge to jump off the edge ! Of course, I decided not to but this seems to be an example of maybe what you are worried about.