chuck it in

Upper Intermediate (B2) informal

To stop doing something completely — like quitting your job or giving up a project

"After ten miserable years in finance, she finally chucked it in and retrained as a teacher."