In November 1829, he was reprimanded by Ranjit Singh and imprisoned for nine months for using insolent language at a target practice exercise. At the end of his imprisonment, the Maharaja offered him command of an infantry battalion. He refused to accept it, and was dismissed from service. He expressed regrets and was reinstated in 1833 as commander of the Najib battalion. He was killed in action in the battle of Jamrud (1837).
References :
1. Grey, C., European Adventurers of Nortlwn India, 1785 - 1849. Patiala, 1970