hang up one's boots vs take one's leave

hang up one's boots

verb
  • retire, call it a day 

take one's leave

verb
  • say goodbye 

  • To depart. 

How often have the words hang up one's boots and take one's leave occurred in a corpus of books? (source: Google Ngram Viewer )