Give up the ship

To stop fighting, to stop trying or hoping to do something.

“Please don`t give up the ship and quit this company. You still have a useful role to play.”