House Speaker Nancy Pelosi on Friday accused President Trump of putting her life in danger by publicly nixing her top-secret trip to a war zone in Afghanistan — and then “leaking” her backup plans to travel commercially.

Pelosi spokesman Drew Hammill said she and a delegation were “prepared to fly commercially to proceed with this vital trip” after Trump suddenly yanked their use of a military plane for the overseas trip on Thursday.

“In the middle of the night, the State Department’s Diplomatic Security Service provided an updated threat assessment detailing that the President announcing this sensitive travel had significantly increased the danger to the delegation and to the troops, security, and other officials supporting the trip,” Hammill said in a statement released Friday. “This morning, we learned that the Administration had leaked the commercial travel plans as well.”

He added that “in light of the grave threats caused by the President’s action,” the trip has been canceled altogether “so as to not further endanger our troops and security personnel, or the other travelers on the flight.”

Pelosi and Trump have been warring since the speaker suggested he postpone his Jan. 29 State of the Union address over security concerns during the partial government shutdown.