Yep, I hang with my head upside down off the end of the bed. Not a pretty sight.
I guess being able to control the spluttering will be proportional to how much time one has spent swimming under water.
Unlike the above poster, I find swimming in a chlorinated pool very good for clear nasal breathing, but I do react to some chemicals, so it's just a matter of luck how you react I guess.