WASHINGTON — The chief executive of the aerospace giant Boeing downplayed the fallout from the president’s decision to withdraw from the Iran nuclear pact, saying on Wednesday that the company would abide by the Trump administration’s decision to cancel Boeing’s licenses to sell $20 billion of aircraft to Iran.

“We will continue to follow the U.S. government’s lead,” Dennis A. Muilenburg, the chief executive, told a luncheon crowd at the Economic Club of Washington.

He said Boeing had not committed to any production slots for the planes the company had planned to build for Iran, given there was a chance the United States would pull out of the 2015 pact.

Mr. Muilenburg spoke a day after the administration said Boeing would see its $20 billion contract to supply aircraft to Iran terminated because of the United States’ withdrawal from the nuclear deal, thus restoring stringent sanctions it had imposed previously. Boeing’s rival, Airbus, will also lose its license to sell to Iran, administration officials said.