He publicly disavowed his allies at the United Nations, and used financial and diplomatic pressure to make them withdraw from Egypt.