hang up your hat

hang up your hat

to leave your job for ever When I stop enjoying my work, that'll be the time to hang up my hat.
See also: hang, hat, up