Leave but work your notice - you may get to rejoin (no doubt on worse conditions) if you need to in the future.
Leave and don't work your notice - you'll be on black list, nothing more.
Sometimes closing the door firmly behind you is not a bad thing.