last-ditch
last-ditch  {adj.}
Made or done as a last chance to keep from losing or tailing. 
He threw away his cigarettes in a last-ditch effort to stop smoking.
Compare: BACK TO THE WALL.
Categories: 
 
Source: A Dictionary of American Idioms
