I agree that it will be hard to do but politics is a nasty game. He should endorse him once he gets the nomination for the sake of the party.
Cruz should endorse Trump over Hillary and tell Trump to shove the convention invitation up his arse.