echar la soga tras el caldero

Etymology
lit. 'to throw the rope behind the cauldron'.

Verb

 * 1)  to throw it all away, to give up