who had been in the battle. The story of Temeraire had become firmly ingrained in the public mind, so much so that when the House of Commons passed a vote of thanks to the men who had fought at Trafalgar, only three were specifically named. Nelson, Collingwood, and Harvey of Temeraire. Mediterranean and Baltic service The battle-damaged Temeraire was almost immediately dry-docked in Portsmouth to undergo substantial repairs, which eventually lasted sixteen months and cost £25,352. She finally left the dockyard in mid-1807, now under the command of Captain Sir Charles Hamilton. Having fitted her for sea, Hamilton sailed to the Mediterranean in September and joined the fleet blockading the French in Toulon. The service was largely uneventful, and Temeraire returned to Britain in April 1808 to undergo repairs at Plymouth. During her time in Britain the strategic situation in Europe changed as Spain rebelled against French domination and entered the war against France. Temeraire sailed in June to join naval forces operating off the Spanish coast in support of anti-French forces in the Peninsular War. This service continued until early 1809, when she returned to Britain. By now Britain was heavily involved in the Baltic, protecting mercantile interests. An expedition under Sir James Gambier in July 1807 had captured most of the Danish Navy at the Second Battle of Copenhagen, in response to fears that it might fall into Napoleon's hands, at the cost of starting a war with Denmark. Captain Hamilton left the ship, and was superseded by Captain Edward Sneyd Clay. Temeraire now became the flagship of Rear Admiral Sir Manley Dixon, with orders to go to the Baltic to reinforce the fleet stationed there under Sir James Saumarez. Temeraire arrived in May 1809 and was sent to blockade Karlskrona on the Swedish coast. While on patrol with the 64-gun and the frigate , Temeraire became involved in one of the heaviest Danish gunboat attacks of the war. A party of men from Ardent had been landed on the island of Romsø, but were taken by surprise in a Danish night attack, which saw most of the Ardent men captured. The Melpomene was sent under a flag of truce to negotiate for their release, but on returning from this mission, was becalmed. A flotilla of thirty Danish gunboats then launched an attack, taking advantage of the stranded Melpomenes inability to bring her broadside to bear on them.