chuck it in

Intermédiaire supérieur (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."