last resort

US /ˌlæst rɪˈzɔːrt/
UK /ˌlæst rɪˈzɔːrt/
"last resort" picture
1.

a final course of action, used only when all others have failed

:
Calling the police was her last resort.
We only use this method as a last resort.