Jervis remained in "Foudroyant" attached to the Channel Fleet and for a short time acted as flag captain to Admiral Molyneux Shuldham. In 1780 Jervis was with Admiral Rodney when the British fleet relieved Gibraltar. In 1781 he was with Admiral George Darby at the second relief of Gibraltar. On 19 April 1782 Jervis was with his old friend and travelling companion when a ship in Admiral Barrington's squadron sighted a French convoy leaving Brest. The squadron gave chase and "Foudroyant" caught and engaged the French 74-gun . After an engagement of more than an hour "Pégase" struck. Jervis himself was wounded in the attack. For his services he was invested as a Knight of the Bath on 19 May 1782. He was again at the relief of Gibraltar with Earl Howe's fleet in 1782 and took part in the indecisive Battle of Cape Spartel. Jervis was promoted commodore and hoisted his broad pennant in the 50-gun in December 1782, with orders to proceed to the West Indies. Due to the peace negotiations his orders were rescinded and he struck his pennant on 14 January 1783.