I think it could have been paralyzed sleep, i don't know much about it but your story seems like. It can happen that you sleep with open eyes. So your body is awake while your brain is still sleeping. Try to find out more in the web, i think it will give you an answer.