As time passed, capstans were completely made from iron and steel. Gears were used at the head of the capstan to provide a mechanical advantage when the bars were pushed anti-clockwise. Even though things improved, capstans still used to be driven by human power, making their usage stressing and difficult.
However, in the modern ships, the traditional capstans are replaced by hydraulically or pneumatically operated windlass. A windlass is a complex device meant for the same purpose as that of capstan, but comprised of different parts, which together make the anchorage process smoother and easier. A capstan differs from a windlass only in the matter of the axis on which the rope or cable is wound (for a capstan it’s vertical axis, whereas for a windlass it’s horizontal)

click to enlarge