Definition of “throw in the towel” - Learner’s Dictionary

throw in the towel

to stop trying to do something because you do not think you can succeed:

Their candidate should just throw in the towel and admit defeat.

(Definition of “throw in the towel” from the Cambridge Learner's Dictionary © Cambridge University Press)