It was not, however, until the year 1782 had become – as it might be historically stated – a memorable epoch in the maritime annals of England, and that valour, ability, and boldness in battle, had retrieved for the nation its naval name, that opportunity had been afforded to Affleck to acquire celebrity and establish his professional fame.
About this period, his broad pennant (the commodore's symbol of office) was flying on board HMS Bedford, attached to the fleet then employed in the West Indies, under the orders of Sir Samuel Hood.
In the cautious and somewhat speculative encounter which took place in Basse-terre Roads, between Hood and the celebrated Count de Grasse, it fell to the lot, or – as he would have said himself – good fortune of Affleck, who each day commanded the rear division of the British line, to sustain the brunt of the enemy's attack.
In the well-known conflicts that took place on those different days between Rodney and the Count de Grasse, and particularly in the memorable battle of the 12th, the commodore, in bringing up the rear of the centre division of the British fleet, manifested the noblest bearing.
For the services rendered to his country in this glorious achievement, his sovereign conferred on him in 1782 the dignity of baronet of Britain; and out of compliment to his gallantry and general conduct, the electors of Colchester returned him the same year to represent that borough in parliament, which he did until his death.