 William Stevenson, Governor of Mauritius, then placed him on a commission inquiring into the civil service departments on the island; the work occupied nearly two years.At the end of his life he ran the census of the island taken in 1861.Walsh died unmarried at Port Louis on 30 January 1862, after a brain haemorrhage.