During World War 1, the L-Class US submarines had masts and sails which were used instead of the onboard electric motor, when the sub surfaced.