go awry vs go to the wall

go awry

verb
  • Of a situation, to fall apart or unravel; to fall into disorder; to hit the fan. 

  • to depart from the correct course 

  • to become twisted, or turned to one side 

go to the wall

verb
  • To be put aside or forgotten. 

  • To make an all-out effort. 

  • To take an extreme and determined position or measure. 

  • To fail, to run out of options. (especially of a business) 

How often have the words go awry and go to the wall occurred in a corpus of books? (source: Google Ngram Viewer )