last-ditch

[last-ditch] {adj.} Made or done as a last chance to keep fromlosing or tailing.

He threw away his cigarettes in a last-ditcheffort to stop smoking.

Compare: BACK TO THE WALL.