The moral of story is: Plan ahead. Think of everything that can, could, would go wrong and then you can work out the procedures to correct, or at least plug, or jury
rig what ever corrective action necessary to be able to return to port safely.
And you could make a game of what if, with yourself and crew. So that people will develop the habit of correcting said problem in a safe manner with little or no panicking.
What would you do if you had to deal with:
Galley fire.
Engine fire.
Cabin fire.
Assorted Medical emergencies.
Man/woman/child over board. (include captain over board on this)
Flooding:
From Shaft packing gland.
broken through hull.
hole/split in hull.
Broken piping.
Rigging:
Ripped/blown-out sails.
Lost halyards.
Lost sheets.
broken shroud.
broken stay.
Navigation:
Recovering position. (GPS/Loran is down)
chart plotting.
Entering strange Ports, (Done this on a fog bound moonless night.)
It is all a game until you have to do the real thing. But then again you get the opportunity to figure out what to do if you did have to face an emergency.