Incensed by the detention of American pastor Andrew Brunson, President Donald Trump called for a plan to be drawn up in late August for the complete withdrawal of U.S. diplomatic personnel from Turkey, senior administration and State Department officials tell ABC News.

The unprecedented plan to essentially shutter an American embassy and all diplomatic missions of a NATO ally would have occurred over a 60-day period, starting with the removal of chief diplomats and ending with the eventual drawdown of all diplomatic personnel, according to one senior U.S. official with knowledge of the plan. The plan to remove the diplomats over the two month period was designed to put incremental pressure on the Turkish government.

“For a while, we were in fear of an apocalyptic break in relations with Turkey,” a senior State Department official said.

“It would be starting with the chargé [d’affaires] to send a message: ‘no personnel left behind,'” the official said. The U.S. has not had an ambassador in Turkey since October of 2017, making the chargé d’affaires the most senior diplomat in the country.

The plan was among half-a-dozen options including increasing sanctions on business and Turkish officials, and its execution would have been more seriously considered if Brunson was not released at his hearing in October.

But Secretary of State Mike Pompeo, who was said to be vocal in opposition to the plan, nevertheless took on the president’s order and an eight-page plan was drafted, according to the State Department official. It was so closely guarded and sensitive that few State Department officials dared to even utter that it was a Turkish withdrawal plan. Some referred to it as “the Turkey thing.”

The State Department has denied that any such plan was drawn up.

“The assertion that there was a plan to close our diplomatic relations with Turkey or our diplomatic facilities in Turkey is patently false,” said State Department spokesperson Heather Nauert.