I've woken up several times like that too, feeling sick to my stomach in the middle of the night for no apparent reason. It's a good thing that you managed to keep calm! I usually just freak out during those episodes.