His tenure of office was very short, for on the 4th of May 1664 he allowed himself to be entrapped into an ambush by the Moors, who carried on incessant irregular warfare against the English garrison, and was killed, together with nineteen officers and nearly five hundred men of his garrison.