Wiktionary
go to the wall
vb. 1 (context idiomatic English) To make an all-out effort. 2 (context idiomatic English) To fail, to run out of options. (qualifier: especially of a business) 3 To be put aside or forgotten. 4 To take an extreme and determined position or measure