The person having the night terror wakes up suddenly , usually gasping , moaning , or screaming while waking . The subject wakes abruptly from slow-wave sleep , with waking usually accompanied by gasping , moaning , or screaming while waking .