What is Cutting Your Losses?
1.
to extricate yourself from an impossible situation, where there is very little or no hope for improvement.
similiar to
cutting your losses:
The U.S. Government eventually decided to cut its losses with regard to the Vietnam War, and by the early 1970s withdrew all of its military forces from Southeast Asia.
See