British ambassador resigns