I had that happen once at a party, I passed out .... woke up later, with the waste can gone, replaced by a dick in my mouth ......
What did I do?
Sucked it of course, it got the vomit taste out of my mouth. Besides I never expected to get any dick, at a couples party when I was the only single guy there.