leaping to the ratlines , jim scrambled aloft to help the men cut loose the main sails which had been lashed down by the french crew , and found quartermaster richard smith , blood gushing from a gashed arm , crawling out along a yard to free the sail .