This pin slides through part of the rudder head when the rudder is in the gudgeons preventing it from sliding out of the gudgeons.