chutar o balde

Etymology
lit. 'to kick the bucket'. It's unknown if the two expressions are etymologically related.

Verb

 * 1)  to give up
 * 2)  to lose one's temper