At the general election of 1790 Gardner topped the poll at Plymouth, where he had been returned on his appointment as a lord of the Admiralty under his friend Lord Chatham earlier in the year. In 1791 he was listed hostile to the repeal of the Test Act in Scotland. When war broke out in 1793 he led a squadron to the Caribbean, but he was home in time to defend the Admiralty against Foxite charges of inadequate convoy protection for merchant shipping, 29, 31 Jan., 18 and 21 Feb. 1794. For his conspicuous part in the victory of 1 June 1794 he was rewarded with a baronetcy. He admitted in the House, 7 Jan. 1795, that French ships were better built than British, but argued that the disparity was being lessened by the capture of prizes and advocated adoption of the French practice of offering premiums for the best designs. Notified by Earl Spencer, Chatham’s successor at the Admiralty, of his omission from the new board while preparing to sail from Spithead the following month, he thought it ‘very sudden’, though he had been ‘in some degree prepared for the event’.
He intended to stand again for Plymouth in 1796, but at the last minute was pressed by Pitt into becoming the ministerial candidate for Westminster. He was in no danger of defeat during the protracted contest forced by John Horne Tooke, but had to endure much personal vilification and rough handling by the mob and told his kinsman Joseph Farington ‘how negligently government had behaved to him in regard to this election’.
Gardner, second-in-command in the Channel to Bridport from 1796, was understood by both Spencer and the King to have no wish for a major sea command; he resisted strong pressure to accept the command at Portsmouth in September 1799 but took umbrage when he was passed over, in favour of St. Vincent, as Bridport’s successor the following April. He initially threatened to strike his flag and to give up his seat in the House and behaved churlishly to St. Vincent when he took over the command. He was eventually mollified with the Irish command, his gracious acceptance of which confirmed the King’s belief in the essential ‘goodness of his heart’, and with an Irish peerage. By 1801 he was again on friendly terms with St. Vincent who, during the squabble over the Channel command, when he thought Gardner had been ‘worked up’ by his own professional rivals the Hoods, had described him as ‘a zealous and brave man, with the worst nerves possible, and full of doubts as to the precision of other men’.
There was speculation that Gardner would retire from Parliament in 1802, but he stood again for Westminster and was returned second in the poll, retorting to charges that he had hardly attended the House since 1796 that he could not be in two places at once.
When he learnt in October 1806 that the Grenville ministry, already committed to support two candidates, could not back him in Westminster at the forthcoming general election, Gardner demanded and obtained compensation in the shape of an English peerage.
