Pull the pin

To quit a job, to end a project or program or relationship.

My friend suddenly decided to pull the pin and quit his job.