He hasn’t “resigned”. He just dropped out of the race. He’s still president.
The sitting president can basically be overthrown if a screenshot appears on his official account.