cool it vs hang onto your hat

cool it

verb
  • Calm down, relax, take a time out. 

  • Used other than figuratively or idiomatically: see cool, it. 

hang onto your hat

phrase
  • Synonym of hold onto your hat 

How often have the words cool it and hang onto your hat occurred in a corpus of books? (source: Google Ngram Viewer )