After leaving the Cabinet Office , he became head , as an acting assistant secretary , of one of the two economic relations divisions in the Commonwealth Relations Office before returning to the Cabinet Office for a further two-year spell , this time as a member of the secretariat , again dealing very much with overseas affairs .