 Gillespie arrested the sons of Tipu Sultan, who were suspected of fomenting the mutiny, and sent them under guard to Madras.The mutiny was thus suppressed.In 1811 he commanded forces in the Invasion of Java and took the city of Batavia.