beat a retreat vs sound a retreat

beat a retreat

verb
  • To leave hastily in the face of opposition. 

sound a retreat

How often have the words beat a retreat and sound a retreat occurred in a corpus of books? (source: Google Ngram Viewer )