Hi,
On ships with Huge shafts they never stop rotating them even when they are in port.
When they are not running the engine or making steam the shafts are switched over to what they call a turning gear the keep them turning very slow like 1 revolution per hour so the shaft does not have a chance to sit in one position and sag or distort.
Rick