last stand; fighting with one's back to the wall; last-ditch effort
Idiomatic expression describing a situation where one must fight with no retreat, often used metaphorically for a desperate, all-out effort. Originates from a historical Chinese battle strategy.
He faced the exam with his back to the wall.
The company is making a last-ditch effort to develop a new product.