Jibe
A jibe (US) or gybe (Britain) is a sailing maneuver whereby a sailing vessel reaching downwind turns its stern through the wind, such that the wind direction changes from one side of the boat to the other. For square-rigged ships, this maneuver is called wearing ship.
In this maneuver, the mainsail will cross the center of the boat while the jib is pulled to the other side of the boat. If the spinnaker is up, the pole will have to be manually moved to the other side, to remain opposite the mainsail. In a dinghy, raising the centerboard can increase the risk of capsizing during what can be a somewhat violent maneuver, although the opposite is true of a dinghy with a flat, planing hull profile: raising the centerboard reduces heeling moment during the manouevre and so reduces the risk of capsize.
The other way to change the side of the boat that faces the wind is turning the bow of the boat into, and then through, the direction of the wind. This operation is known as tacking or coming about. Tacking more than 180° to avoid a jibe is sometimes referred to as a 'chicken jibe'.