I may know something similar to what you are going through. In my case I would wake up with little control over my thoughts, and feelings like I was getting a mental shock treatment... Not physical, but it did cause a slight ringing in my ears and dizzyness. I was totally paralized and fought and fought until I could get something to move. This has happened mostly when I was younger and really freaked me out. Now I just deal with random and disconnected anxiety and panic attacks (as well as ones my mind creates).
I've tried to do a lot of research over the years and have come up to this conclusion. I have a genetic disorder (mother was Agoraphobic, father had disabilitating anxiety, both alcoholics, brother and sister have panic attacks). This disorder causes my body to trigger a catecholamine shot to the system that my brain sees as a "fight or flight" fear that doesn't have anything to attach it to. The brain starts to find things to attach it to... heights, flying, open spaces, driving, foods, whatever (I had a lot of phobias to undue once I figured this out).
In any case where I think this relates to you is that I think I would have a panic attack in my sleep. Unfortunately the mind/body disconnects and paralyzes the body so that it doesn't move while dreaming, however the brain cannot figure out what is going on, and is in a panic to do something, but cannot move. Not sure what the ringing and shock are except maybe the brain trying to recover from the sleep paralysis.
The biggest thing that helped was to start taking Paxil, and have evolved into a mix of zoloft and welbutrin. In any case, I still have the background anxiety at times, and sudden flushes (that I joke with my wife are hot flashes), but the no longer trigger the brain's overreaction. Knowing that this just happens and that there is no specific cause (boy the medical tests I went through over the years ... heart, thyroid, MRI, tilt-table stress excersize echocardiograms etc...).
Think about if the problem is a physical non-specific shock to the body, and your unprepared brain is trying to find anything it can to explain the feelings, and in what it thinks is a life-threatening situation.
Do you have anxiety or even sudden panic attacks while awake for no reason?
Do you have a family history of phobias or "mental breakdowns" which were really physical reactions to random panic shocks to the system?
Family history of Alcoholism or drug abuse (their way of coping what they could not identify).
In any case, I know the paralysis, the mind running multiple threads of thought processes at 100 miles an hour, the almost electric shocks that hit every couple of seconds. That is what I came up with. I hope this helps you.
Unless you've been through it, you have no chance of understanding, but thanks to those who offer sympathy and offer non-critical suggestions.