Because of the inertia of a steam locomotive in its initial direction of travel, changing the direction in which the steam cylinders have to work acts first to brake the movement of the connecting rod, which in turn slows the transmission of power to the drive of the locomotive until it stops.