I've done that before, bit confusing when it happened.Yeah had this a few times. I sometimes wake up during the night and smack myself in the face as I didn't know my arm was dead.
Apparently the reason you toss and turn every so often is to ensure you don't cut off the circulation for too long. I saw it on the bbc sometime.