The 25th amendment states that if, for whatever reason, the vice president and a majority of sitting Cabinet secretaries decide that the president is “unable to discharge the powers and duties of his office,” they can simply put that down in writing and send it to two people — the speaker of the House and the Senate’s president pro tem.

Then the vice president would immediately become “Acting President,” and take over all the president’s powers.