On 11 September 1810, in a ship action off Elba in the Mediterranean, Charles Benyon, Lieutenant in Ajax, aged 22, was killed attempting to board a French vessel. He was the third son of Richard Benyon of Englefield House, Berks, where the Benyon family still live. On 13 December 350 sailors and 250 marines from the 74-gun third rates Ajax, and attacked Palamós. The landing party destroyed six of eight merchant vessels with supplies for the French army at Barcelona, as well as their escorts, a national ketch of 14 guns and 60 men and two xebecs of three guns and thirty men each. The vessels were lying inside the mole under the protection of 250 French troops, a battery of two 24-pounders, and a 13" mortar in a battery on a commanding height. Although the attack was successful, the withdrawal was not. The British lost 33 men killed, 89 wounded, and 86 taken prisoner, plus one seaman who took the opportunity to desert. On 31 March 1811, Ajax and HMS Unite encountered a French squadron comprising the frigates Adrienne and Amélie, and the armed transport French corvette Dromadaire. Ajax captured Dromadaire, while the frigates managed to escape to Portoferraio. Captain Otway of Ajax reported that Dromadaire was frigate-built and sailed remarkably well. Her cargo consisted of 15,000 shot and shells of various sizes and 90 tons of gunpowder. Apparently Napoleon Bonaparte intended them as a present for Hammuda ibn Ali, the Bey of Tunis. Admiral Sir Charles Cotton, commander in chief of the British Mediterranean Fleet, decided to buy her and her stores for the Royal Navy. On 17 March 1814, Ajax captured the French 16-gun brig Alcyon near the Lizard. Alcyon was armed with sixteen 24-pounder carronades, and had a crew of 120 men. She was provisioned for a four-month cruise, but was only 24 hours out of Saint-Malo when Ajax captured her.
Post-war
Ajax was converted to a blockship with screw propulsion for coastal defence in 1846. The conversion process involved removing her copper, ballast and some of the bulkheads, and cutting her down in the shape of a blockship. From 1846 until 1853 she was stationed as a guardship in Queenstown, now Cobh. She took part in the Crimean War 1853-1856. In 1854 she was involved in the Bombardment of Bomarsund, Finland. In 1858 she resumed guardship duties, this time in Kingstown, now Dún Laoghaire, where she remained until 1864 when she was decommissioned and broken up. Captain John McNeil Boyd R.N. was master of the Ajax while she was in Dún Laoghaire. On 8 February 1861 there was the worst storm in memory. 29 ships were lost between Wicklow Head and Howth Head, all close to Dún Laoghaire. Boyd organised rescues, but he and five of his crew were lost. Fifteen surviving members of the Ajax crew were decorated for bravery and most were promoted. There are many memorials to Boyd and his men. On 3 December 1863. Ajax was driven ashore at Kingstown. She was refloated. It was announced in February 1864 that the would replace her as the Coast-guard ship at Devonport.