President Trump stunned his top aides at his combative news conference on Tuesday, ignoring their advice to turn the corner on Charlottesville, by getting into a heated back-and-forth with reporters — after he’d agreed privately not to take questions.

The president “went rogue,” a senior White House official told NBC News.

Advisers cooked up what they thought was a fool-proof plan for the Trump Tower press conference: Trump would tout the infrastructure executive order he had signed, and then head upstairs and leave his aides to answer any infrastructure questions in the lobby.

But Trump went off-script and launched a raging defense of his provocative reaction to the violence in Virginia.

Economic adviser Gary Cohn, Axios reported, was “between appalled and furious.”

New Chief of Staff John Kelly was caught on video frowning and even wincing as Trump got into a shouting match with reporters, doubling down on his Saturday claim that “both” sides were to blame for the white-nationalist violence in Charlottesville.