In the Chinese war of 1842 he was in command of the 98th Regiment. The tremendous heat of the country during the summer terribly thinned the ranks of his forces, and he lost over 400 men in eighteen months. He himself was struck down by sunstroke and fever; but, owing probably to his temperate and careful habits, he soon recovered.