It's called sleep paralysis. Not as ominous as it sounds. Our bodies naturally go into paralysis during sleep which allows us to sleep rather than act out our dreams. Sometimes that paralysis takes a little longer to wear off. It is often associated with anxiety or over exertion. My son had it for a while and it just went away on its own. Hopefully knowing what it is will help you deal with it.
It is probably sleep paralysis or false awakening. I've had many different experiences one being pinned to the bed by a rather horrid figure. I am eventually able to wake up. Sleep studies show I do not proceed through all stages of sleep, a sleep disorder. Once you know what it is it doesn't necessarily stop them, but least you know what they are. It might just be a stage you are going through which will disappear.