seinen Hut nehmen

Etymology
lit. 'to take one's hat'.

Verb

 * 1)  to resign; to quit