This is your explanation. Sometime during the night, your body decided it was a cat. The feeling you had was your body trying to expel a hairball. Upon realizing that you are infact NOT feline, it went "oh no, not again." and remedied its mistake allowing you to go back to sleep.
** I would like people to note that I am very tired right now and have no idea where that thought came from.