The ambassador, who was expected to continue in his role until October, said he had done all he could to contribute his experience, expertise and contacts to the team responsible for invoking Article 50 and overseeing Brexit negotiations.