In 1856 he was appointed chief engineer of Burma, which had just been annexed by Britain, for two years; and from 1858 served for three years in the same post in the North-Western Provinces. In both regions, he established public works departments. He was therefore absent from India during the Rebellion of 1857. He was appointed Colonel of the Royal Engineers in 1860. He retired on 30 June 1861, having attained the rank of Major General.