I do not believe that when the Military takes control they will be able to just install Trump as the President. Rather, I believe the military will call for and oversee a new election. Ballots will be printed, each party will nominate a candidate and the election will proceed. Trump will defeat the Democrats a 3rd time.
However we will also be dependent on the military to charge and remove those who participated in the coup from office and the bench.
Honestly asking what makes you think this?
Because the Joint Chiefs are Deep State and so is the Pentagon, how would that happen? Who would inform us that the military had taken over? Its not going to happen.