I used to have to take medicine to keep me from being violent in my sleep because I would wake up and be striking out with my fists and cussing my partner and we had to sleep in separate beds for awhile...But that was a long time ago.
Since then, I have had a few anxiety nightmares that found me waking up deeply disturbed for as long as a week, (sometimes more).
Now, however, I am on a medication called Minipress that partially blocks the effects of adrenaline while sleeping and I very rarely even remember my dreams and have stopped having nightmares altogether!