In October 1812 Dundas transferred to the 74-gun Third Rate Edinburgh.
In 1813 Dundas and Edinburgh were in the Mediterranean.
On the morning of 5 October, Edinburgh joined Capt.
Duncan of Imperieuse off Porto D'Anzo where he and Resistance, Swallow, Eclair and Pylades had been watching a convoy for some days with the intention of attacking it.
The place was defended by two batteries mounting three heavy guns each on the mole, a tower with one gun and a battery with two guns.
During the attack in the afternoon, Edinburgh supported Eclair and Pylades as they bore up against the battery to the south.
After the ships opened fire, landing parties brought out the 29 vessels of the convoy, 20 of which were laden with wood for the arsenal at Toulon.
All the works were blown up.

On 30 November 1812 Dundas was placed in command of a small squadron consisting of Edinburgh, Furieuse and Termagant which landed troops at Viareggio in Italy.
Some 600 cavalry and infantry from the Livorno garrison attacked the British troops, who routed them, capturing two field pieces and a howitzer.
From the prisoners they learned of the weak state of the garrison and asked to be re-embarked to be taken to Livorno.
The British troops and Marines landed on the evening of 13 December and they occupied the suburbs of the town.
Some 700 cavalry and infantry attacked the marines, who opened to let the cavalry pass through them.
The marines charged, killing, wounding or taking prisoner between 250 and 300 men.
Edinburgh had just three marines wounded.
In October 1812 Dundas transferred to the 74-gun Third Rate Edinburgh. In 1813 Dundas and Edinburgh were in the Mediterranean. On the morning of 5 October, Edinburgh joined Capt. Duncan of Imperieuse off Porto D'Anzo where he and Resistance, Swallow, Eclair and Pylades had been watching a convoy for some days with the intention of attacking it. The place was defended by two batteries mounting three heavy guns each on the mole, a tower with one gun and a battery with two guns. During the attack in the afternoon, Edinburgh supported Eclair and Pylades as they bore up against the battery to the south. After the ships opened fire, landing parties brought out the 29 vessels of the convoy, 20 of which were laden with wood for the arsenal at Toulon. All the works were blown up.
On 30 November 1812 Dundas was placed in command of a small squadron consisting of Edinburgh, Furieuse and Termagant which landed troops at Viareggio in Italy. Some 600 cavalry and infantry from the Livorno garrison attacked the British troops, who routed them, capturing two field pieces and a howitzer. From the prisoners they learned of the weak state of the garrison and asked to be re-embarked to be taken to Livorno. The British troops and Marines landed on the evening of 13 December and they occupied the suburbs of the town. Some 700 cavalry and infantry attacked the marines, who opened to let the cavalry pass through them. The marines charged, killing, wounding or taking prisoner between 250 and 300 men. Edinburgh had just three marines wounded.
George Dundas (Royal Navy officer)