This is sometimes how I wake out of bad dreams. I try to yell (or kick) in the dream, but can’t, and soon I have my waking mouth (or feet) doing it, and it wakes me with a weird strangled noise.