obudzić się z ręką w nocniku

Etymology
lit. 'to wake up with [one's] hand in [the] chamber pot'.

Verb

 * 1)  to catch on to something too late, to get the short end of the stick