A last resort — the final method or measure taken when no other effective option remains.
交渉が決裂した場合、最後の手段として法的措置を取るつもりだ。
If negotiations fail, I intend to take legal action as a last resort.
薬が効かないときは、手術が最後の手段になることがある。
When medicine doesn't work, surgery may become the last resort.
節約しても家賃が払えないなら、最後の手段として家族に頼るしかない。
If you can't pay rent even after saving, as a last resort you'll have to rely on family.