wet the bed

/wɛt ðə ˈbɛd/verb
University
1

To urinate in one's bed (during sleep).

2

To go bad, to fail. Often said of machines; a euphemism for shit the bed.