1. Literally, to escape from a sinking ship. We had to abandon ship after the collision with the rocks tore a hole in the hull.
2. By extension, to leave a failing organization or bad situation. Amid rumors that the company was filing for bankruptcy, the employees started to abandon ship.