Hindmarsh transferred to the in May 1800, and took part in the Battle of Algeciras Bay in 1801. He served on at the Battle of Trafalgar, and was first lieutenant of the sloop , which took a conspicuous part in the Battle of the Basque Roads in 1809, and on the same sloop in the Walcheren expedition later in the year. He served in the in the invasion of Java in 1811. He was promoted to commander on 15 June 1814. A lengthy period of inaction on half-pay followed, but from March 1830 to December 1831 he commanded the , and was promoted to captain on 3 September 1831.