/ˈhæŋ ʌp wʌnz hæt/
To stop working or retire.
“After decades, she decided to hang up her hat for good.”