Wiktionary
lay down one's flag
vb. (context reflexive English) To surrender or resign, especially in a military context.