He next was involved in action against the Dutch, in the East Indies. He was promoted to Commander on 8 April 1808 and given command of "Samarang", in which he participated the Spice Islands campaign that led to the capture of Amboyna and captured Pulo Ay. He was made post captain on 25 July 1810 and then on 18 August took command of . Prize money acquired during his successful career enabled him and his family to settle down after the end of hostilities in 1815. He retired from the Navy in 1817.