when i have sleep paralysis, which usually happens before waking up, i usually shake in an effort to wake up. maybe this is what you tried to do as well.
This has only happened when im trying to sleep or sometimes when i wake up and i try to go back to sleep....what could it be?
i've had both sleep paralysis and seizures, and that does not sound like sleep paralysis. it may have been a seizure - perhaps a simple partial seizure or a complex partial seizure.
more likely, it could have been a bad dream.
you should see a neurologist just to be sure.
I've never had a seizier to my knowledge... but I've had sleep paralysis a number of times. sleep paralysis is quite different than what you explained. In my experiences I'm wide awake but I can't move a muscle. It's quite a terrifying exerience. It's also very hard to breathe. It seems like it lasts forever but in reality it's only about 5-10 seconds after I wake up. I'm sure experts far smarter than I will tell you that few experience it, but it's quite normal for your body to do it. Your brain shuts your muscles down to protect your body during sleep. Most of the time your brain wakes your muscles before it wakes you. When the reverse happens... sleep paralysis.
Sorry I can't help with the shaking... It's possible it's a form of sleep aralysis... just none I've had.