In 1799 he commanded the Bombay Army in the last war against Tipu, which occupied Coorg, and repulsed Tipu at Seedaseer on 6 March. On 15 March he joined with Major General George Harris (afterwards Lord Harris) before the 1799 Battle of Seringapatam and took charge of the operations on the northern side of the city. After its capture he received the thanks of both Houses of Parliament.