ARLINGTON, VA - NOVEMBER 09:  U.S. Secretary of Defense Jim Mattis (L) hosts an honor cordon ceremony to welcome China State Councilor and Defense Minister General Wei Fenghe at the Pentagon, on November 9, 2018 in Arlington, Virginia. The two planned to discuss "risk reduction" in an effort to limit the possibility of inadvertent clashes. (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images
ARLINGTON, VA - NOVEMBER 09: U.S. Secretary of Defense Jim Mattis (L) hosts an honor cordon ceremony to welcome China State Councilor and Defense Minister General Wei Fenghe at the Pentagon, on November 9, 2018 in Arlington, Virginia. The two planned to discuss "risk reduction" in an effort to limit the possibility of inadvertent clashes. (Photo by Mark Wilson/Getty Images)
Now playing
04:47
CNN reporter: Mattis is falling on his sword
ST. PAUL, MN - NOVEMBER 6:  Former U.S. Vice President Walter Mondale concedes the election to his Republican opponent Norm Coleman November 6, 2002 in St. Paul, Minnesota. Mondale and Coleman were in a race for U.S. Senate that was too close to call the evening before.  (Photo by Mark Erickson/Getty Images)
Mark Erickson/Getty Images
ST. PAUL, MN - NOVEMBER 6: Former U.S. Vice President Walter Mondale concedes the election to his Republican opponent Norm Coleman November 6, 2002 in St. Paul, Minnesota. Mondale and Coleman were in a race for U.S. Senate that was too close to call the evening before. (Photo by Mark Erickson/Getty Images)
Now playing
03:00
Walter Mondale dies at 93
george w bush congress immigration rhetoric cbs intv sot mxp vpx_00000000.png
george w bush congress immigration rhetoric cbs intv sot mxp vpx_00000000.png
Now playing
01:25
Bush calls on Congress to tone down 'harsh rhetoric' on immigration
WASHINGTON, DC - MARCH 23: Sen. Ted Cruz (R-TX) speaks at a Senate Judiciary Committee hearing on "Constitutional and Common Sense Steps to Reduce Gun Violence" on March 23, 2021 in Washington, DC.  Many senators spoke both for and against gun control the day after a shooting in Boulder, Colorado where a gunman opened fire at a grocery store, killing ten people. (Photo by Tasos Katopodis/Getty Images)
Tasos Katopodis/Getty Images
WASHINGTON, DC - MARCH 23: Sen. Ted Cruz (R-TX) speaks at a Senate Judiciary Committee hearing on "Constitutional and Common Sense Steps to Reduce Gun Violence" on March 23, 2021 in Washington, DC. Many senators spoke both for and against gun control the day after a shooting in Boulder, Colorado where a gunman opened fire at a grocery store, killing ten people. (Photo by Tasos Katopodis/Getty Images)
Now playing
03:18
Berman on Cruz's latest tweet: 'The pot calling the kettle violent'
Now playing
01:57
Chuck Hagel criticizes Trump's statement on Afghanistan
gun laws shootings Comer pamela brown nr vpx _00015627.png
CNN
gun laws shootings Comer pamela brown nr vpx _00015627.png
Now playing
02:23
'I can't answer that': Kentucky lawmaker responds to CNN on gun policy
Now playing
02:39
National security adviser: Russia will face consequences if Navalny dies in prison
Rep. Marjorie Taylor Greene (R-GA) speaks during a press conference outside the U.S. Capitol on February 5, 2021 in Washington, DC. The House voted 230 to 199 on Friday evening to remove Rep. Marjorie Taylor Greene (R-GA) from committee assignments over her remarks about QAnon and other conspiracy theories.
Drew Angerer/Getty Images
Rep. Marjorie Taylor Greene (R-GA) speaks during a press conference outside the U.S. Capitol on February 5, 2021 in Washington, DC. The House voted 230 to 199 on Friday evening to remove Rep. Marjorie Taylor Greene (R-GA) from committee assignments over her remarks about QAnon and other conspiracy theories.
Now playing
03:20
Marjorie Taylor Greene lashes out at media after backlash over controversial caucus
AP
Now playing
03:16
Maxine Waters: Jim Jordan is a bully and I shut him down
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
NICHOLAS KAMM/AFP/Getty Images
US Representative Marjorie Taylor Greene, Republican of Georgia, leaves her office on Capitol Hill on February 4, 2021 in Washington, DC.
Now playing
03:51
Marjorie Taylor Greene launching 'America First' caucus
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
JIM WATSON/AFP/Getty Images
US President Joe Biden delivers remarks on Russia at the White House in Washington, DC on April 15, 2021. - The United States announced sanctions and the expulsion of 10 Russian diplomats Thursday in retaliation for what Washington says is the Kremlin's US election interference, a massive cyberattack and other hostile activity.
Now playing
02:22
White House backtracks on refugees decision after criticism
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Andrew Harnik/Pool/Getty Images
Biden speaks from the Treaty Room in the White House on April 14, 2021 in Washington, DC.
Now playing
02:44
'National embarrassment': Biden reacts to mass shootings
MOSCOW, RUSSIA - APRIL 15:  Russian President Vladimir Putin (L) talks to talks to Foreign Minister Sergey Lavrov during a meeting with Uzbekistan President Islam Karimov in the Kremlin on April 15, 2013 in in Moscow, Russia. Karimov is on a state visit to Russia. (Photo by Sasha Mordovets/Getty Images)
Sasha Mordovets/Getty Images
MOSCOW, RUSSIA - APRIL 15: Russian President Vladimir Putin (L) talks to talks to Foreign Minister Sergey Lavrov during a meeting with Uzbekistan President Islam Karimov in the Kremlin on April 15, 2013 in in Moscow, Russia. Karimov is on a state visit to Russia. (Photo by Sasha Mordovets/Getty Images)
Now playing
02:07
Russia to expel 10 US diplomats in 'tit-for-tat response' to Biden sanctions
Now playing
03:10
Avlon: Here's what we know 100 days since the Capitol riot
A Russian flag flies next to the US embassy building in Moscow on October 22, 2018. - US national security advisor John Bolton is in Moscow holding meetings with senior Russian officials following Washington's weekend announcement of withdrawal from the Cold War-era Intermediate-Range Nuclear Forces Treaty, known as the INF. (Photo by Mladen ANTONOV / AFP)        (Photo credit should read MLADEN ANTONOV/AFP via Getty Images)
Mladen Antonov/AFP/Getty Images
A Russian flag flies next to the US embassy building in Moscow on October 22, 2018. - US national security advisor John Bolton is in Moscow holding meetings with senior Russian officials following Washington's weekend announcement of withdrawal from the Cold War-era Intermediate-Range Nuclear Forces Treaty, known as the INF. (Photo by Mladen ANTONOV / AFP) (Photo credit should read MLADEN ANTONOV/AFP via Getty Images)
Now playing
02:17
Political scientist: US-Russia relations are in the toilet
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Toya Sarno Jordan/Getty Images
WASHINGTON, DC - JUNE 13: Rep. Michelle Lujan Grisham (D-NM) speaks during a news conference on immigration to condemn the Trump Administration's "zero tolerance" immigration policy, outside the US Capitol on June 13, 2018 in Washington, DC. (Photo by Toya Sarno Jordan/Getty Images)
Now playing
02:39
Governor settles with former campaign staffer who accused her of sexual mistreatment
(CNN) —  

James Mattis just cut the world’s safety net.

The defense secretary’s decision to quit Thursday was a warning that will ring through history about an impulsive President who spurns advice, disdains America’s friends and proudly repudiates the codes of US leadership that have endured since World War II.

Mattis stopped Washington in its tracks – even after months of stunning plot twists in Donald Trump’s presidency, and as stock markets plunge, a legal net tightens around the White House and the government is about to shut down.

His recognition that he could no longer work for an erratic commander in chief who decided to pull US troops out of Syria, apparently without consulting anyone, could lead to a new period of global uncertainty as Trump slips his remaining restraints.

Grave faces on Capitol Hill and the shaken voices of retired military men on cable news reflected the Pentagon chief’s renown as more than a decorated warrior, retired four-star general and the most admired Cabinet member.

He is a talisman.

For two years, politicians, foreign policy experts and allied diplomats would quietly confide their belief that as long as Mattis was in the Situation Room, alongside the impulsive Trump, everything would be OK.

Even after the departure of other so-called adults in the room, such as former Secretary of State Rex Tillerson and ex-national security adviser H.R. McMaster, Mattis stayed.

Fears of a clash between the US and Chinese navies in the South China Sea, an opportunistic Russia, meltdowns in the Middle East or a sudden global crisis with Trump at the helm were eased by thoughts of the scholar-general in the chain of command.

Now, he’s going. And the world had better prepare for an unchained US President.

Shock and concern

01:23 - Source: CNN
Toobin: No more grown-ups in the room

“There is a lot of concern like I have never seen in my life,” Adam Kinzinger, a Republican House member from Illinois, said on CNN, reflecting the sentiments of his colleagues at the events of the last few days.

A senior conservative House GOP member, who supports Trump, told CNN’s Jim Acosta: “The wheels may be coming off.”

Republican Sen. Marco Rubio warned in a tweet that the Mattis resignation letter made it “abundantly clear that we are headed towards a series of grave policy errors which will endanger our nation, damage our alliances & empower our adversaries.”

Such unusual anxiety about Trump among Republicans on Capitol Hill suggested that Mattis might have achieved at least part of his aim in resigning.

Though he addressed his letter to Trump, it was a warning clearly targeted at the lawmakers, especially Republicans, who so admire him. It was also aimed at Americans outside Washington, flagging that the nation is heading down a dangerous path.

Trump’s order of an immediate withdrawal from Syria – the final straw for Mattis – defied the counsel of his national security experts. Now, it also looks like the start of a period in which America’s turmoil could destabilize the globe.

Earlier Thursday, a senior administration official told CNN’s Jake Tapper that Mattis was “vehemently opposed” to the Syria decision and a possible Afghanistan troop withdrawal.

The move appeared to have been conducted without consulting allies whose soldiers have fought and died alongside Americans in the 17 years since 9/11.

Trump has every right as commander in chief, given the broad sweep of his constitutional powers and the victory he secured in 2016, to reshape America’s posture around the globe. He made promises to bring US soldiers home from foreign battlefields – a goal shared by many Americans weary of years of war.

Trump’s voters wanted someone to shake up Washington and the world and so are unlikely to care that he’s spooking the Washington establishment with his populist nationalist approach to the world.

But critics charge that Trump’s troop withdrawals will simply hand over tracts of the Middle East and southwest Asia to American’s foes such as Iran, Russia, ISIS and the Taliban.

Another Republican who usually supports Trump, South Carolina Sen. Lindsey Graham, warned an Afghan withdrawal would pave the way “toward another 9/11.”

A staggering repudiation

01:36 - Source: CNN
Panetta: US going through steady diet of chaos

Mattis went further, suggesting that Trump is taking aim at the very foundations of US global power.

In his resignation letter, Mattis suggested Trump’s worldview was antithetical to everything he held dear in 40 years in uniform. Those values were not just his own, they are the bedrock of a nation that was a stabilizing force that made the world more safe.

He implied that Trump, who believed Russian President Vladimir Putin over his own intelligence agents about Russian election meddling, and who has cozied up to dictators, such as Kim Jong Un, had got America’s friends and enemies confused.

“My views on treating allies with respect and also being clear-eyed about both malign actors and strategic competitors are strongly held and informed by over four decades of immersion in these issues,” Mattis wrote.

“We must do everything possible to advance an international order that is most conducive to our security, prosperity and values, and we are strengthened in this effort by the solidarity of our alliances,” he continued.

In the coming days, the resignation of Mattis is likely to revive sobering questions over whether Trump is fit to be commander in chief and raised the possibility – reinforced by a report that Trump is now planning an Afghan withdrawal – that the President plans to engineer a single-handed retreat from world.

“The President has taken a wrecking ball to every pillar of stability and security we have erected over the past 60, 70 years,” an emotional William Cohen, himself a former defense secretary, told CNN’s Jim Sciutto.

Cohen spoke to Mattis on Wednesday night and said he was distraught over Trump’s Syria order, which he viewed as a desertion of America’s allies, especially the Kurds.

Paraphrasing his friend’s mindset, Cohen added: “‘I have never resigned from anything, I have carried the fight in every battle I have been in, but I cannot do this in the name of our country.’”

It is clear that Syria was the last straw for Mattis. But not the only one.

The defense secretary stood by as Trump has appeased Russia, which he sees as a dangerous US foe. He saw the President decide off-the-cuff to halt US military exercises on the Korean Peninsula after being charmed by Kim. Mattis was even forced to explain why Trump deployed troops to the southern border in a political stunt to bolster his hardline message on immigration. And he’s seen Trump insult allied leaders to their faces at bitter global summits.

Given such developments, it’s no longer absurd to ask questions like whether the President will suddenly decide to pull American troops home from South Korea after decades of keeping the peace or even pulling out of NATO.

“We are in a new world here … ” former Supreme Allied Commander Wesley Clark said on “Cuomo Prime Time.” “We’ve got to come to terms with the character of the President and how he makes decisions.”