When people get intoxicated with alcohol (as in: they had way too much), they sometimes feel very bad, and while they are awake, they stop being responsive and cannot communicate.
In that state, vomiting may bring back a certain alertness: after vomiting, they can respond and talk again and also seem to feel better, albeit both effects only last very briefly. This may happen several times in a row with falling back to unresponsiveness in between.
How does vomiting help become responsive, and why does the effect only last a short time? Vomiting does not immediately reduce the amount of alcohol in the bloodstream, so how else does it work?