Mr. Bolton’s exit from the West Wing on Tuesday removes one of the last constraints on Mr. Trump’s sense of the possible in world affairs. In not quite three years in the White House, Mr. Trump has cycled through more senior foreign policy and national security advisers than any other president, leaving him without the men who once were considered the adults in the room: Jim Mattis, Rex W. Tillerson, H. R. McMaster, John F. Kelly and more.

“The departure of Bolton suggests that President Trump is going to be his own foreign policy adviser,” said Martin S. Indyk, a fellow at the Council on Foreign Relations who served as a diplomat and National Security Council official during the Clinton administration.

And no matter who replaces Mr. Bolton, “it’s not going to be an important position anymore — there really isn’t going to be much of a process under Trump,” said Eliot A. Cohen, who worked for Secretary of State Condoleezza Rice during the administration of President George W. Bush.
Sign Up for On Politics With Lisa Lerer

A spotlight on the people reshaping our politics. A conversation with voters across the country. And a guiding hand through the endless news cycle, telling you what you really need to know.

“It’s going to be whatever is most conducive to his re-election,” Mr. Cohen said.