desperate measure; last-ditch effort
A plan or action taken when one is cornered and has no other options. Often used in formal or written contexts.
See also: 窮余の策
As a desperate measure to avoid bankruptcy, the company sold off all its assets.
What he proposed was merely a last-ditch effort and did not lead to a fundamental solution.