An employee was working on the bottom of a littoral combat ship with a water jet propulsion system instead of a rudder. The employee was hammering a pin out of one of the cylinders of the propulsion system when the pin came out and the cylinder retracted. The employee's left middle finger was pinched by the cylinder, resulting in the partial amputation.