die Flinte ins Korn werfen

Etymology
lit. 'to throw the shotgun into the grain(field)'.

Verb

 * 1)  to throw in the towel to quit; to give up