Can you calm him down without waking him up? We can do that with our boy but he isn't as wild as yours sounds. We just prefer to not be whacked by his flailing limbs. If you could calm him without waking him perhaps the next hour of pacing and whining could be averted?
We place a hand on the dog and softly say good boy and he settles down. I really don't think he wakes up, at least not fully.