I've had dreams similar to that, Tej! The experience of not being able to wake up or not knowing if you are awake or asleep is terrifying.
My worst of those types of dreams was in 1976 and I still remember it vividly. When I recall the details of the dream, as I am now, my heart quickens and my arms feel weak and helpless. I am struggling to type right now. 45 years ago and those dream memories still trigger a physical response - amazing.