If he doesn't get the R. nomination he will probably run as an independent and split the vote.
I think he'd have to mount a write-in campaign, if possible . Don't think after running as a Repub and not winning the nomination he could just run as an independent . You have to file how you're going to run well in advance, Repub, Dem , Libertarian , Independent , etc. He chose Repub .