Unfortunately, right about that time, my cat jumped up for some snuggles, finding my leg where normally there's mattress. I discovered in the process that she uses her claws quite devotedly to gain purchase when making this jump. Ouch!! Also, truly not the most relaxing thing in the middle of the night!!
I figure this is some kind of balancing out after a recent incident when she was picking her way around my pillows and I accidentally clocked her little head when I went to stretch my arms out.