 During this period, he served as Secretary for Public Works from 1858 to 1860 and as Colonial Treasurer from 1863 to 1865 and from 1866 to 1868.After leaving parliament he was appointed head of the New South Wales Treasury from 1872 to 1891.Eagar died at his home in the Sydney suburb of Glebe Point, survived by his wife and three of their four children.