toss it in

중상급 (B2) informal

To stop doing something or quit, especially when you're fed up.

"After three failed attempts to fix the car, he decided to toss it in and call a mechanic."