Edgar was launched when Britain was embroiled in the American Revolutionary War.
In November 1781, the Admiralty had received intelligence that a large convoy was preparing to sail from Brest under Admiral de Guichen.