Continuing in active service during the years of peace, Spear rose to lieutenant and served on a number of ships during the French Revolutionary Wars. He was promoted to commander late in the wars, and was assigned to the West Indies on the outbreak of the Napoleonic Wars. He commanded several sloops and unrated vessels with distinction, alternating with active service in command of larger ships of the line and frigates during the West Indies Campaign. He fought a particularly fierce action with a superior French force, for which he received plaudits from his commanding officer, and supported the Invasion of Martinique. His reward was to carry despatches to Britain, for which he was promoted to post-captain. Service with the Mediterranean Fleet followed, commanding ships of the line and blockading the French in Toulon. Ill health brought an end to his active service, and he returned to Britain in 1812. He did not live long enough to receive a promotion to flag rank and died in 1837, still a post-captain.