Was having a zoom discussion yesterday and the thought was raised as to what might happen if the election takes place and Trump were to win the popular vote but lose the electoral college vote. There was a general unease.
It would mean that he is no longer president.
I think there's going to be some unrest whatever happens. Trump will claim the election was stolen whatever the result (unless he wins, of course) and there will be protests, but I think we'l find his supporters are less fierce than they make out once they are faced with LEOs with guns.
What concerns me more is, between losing the election and leaving office, there are about two months in which Trump can do massive damage. Even just refusing to cooperate with his replacement's administration would be hugely damaging.