shepherd was appointed colonial treasurer on 9 may 1842, succeeding george cooper. he thus became a member of the executive council of the crown colony, with the role of colonial treasurer being the fourth most senior role at the time (after governor, colonial secretary and attorney-general). when new zealand gained self-government with the formation of the fitzgerald ministry on 14 june 1854, shepherd's role was disestablished and he was given a government pension.