I don't think the ship maneuvers at all. Both the ship and rocket are pre-programmed with the landing coordinates, and independently arrange to be at the right spot at the right time. The ship has fancy thrusters, but their purpose is to hold it perfectly still even when the water is moving around a lot.