It can also mean to attempt to stop a boat that is taking on water from actually sinking. Here are sample sentences with a few known variations of the word "bail" in them.
1. He tried unsuccessfully to bail out the boat.
2. It was high time for the government to bail out the economy.
3. I had to go to the drunk tank last night to bail out my sister's husband.
4. I'm gonna bail out of that 7:00 am meeting tomorrow morning.