Complex sentence: This tendency to turn off course when running can be dangerous, as the boat is least stable and can jibe accidentally if the lee side of the sail catches the wind.
Split into simpler sentences: This tendency to turn off course when running can be dangerous. If a boat turns to leeward too far, or sails "by the lee", the boat can jibe accidentally if the lee side of the sail catches the wind.