Yes it will be interesting to see how this plays out and see how it affects Cruz. I think the only scenario that will be really bad for Cruz is if Trump wins easily. If Trump wins but only by a sliver then Cruz may still retain some credibility.
Many are speculating that if Donald Trump wins the Presidency, that he will be impeached in his first term (I'm speculating that the impeachment process will be started by extremely embarrassed republicans). Remember that we're dealing with an extremely sick sociopath here (or is Donald Trump a psychopath?). Ted Cruz has his loyal supporters and has never relied on the Trump lemmings for support, nor will he rely on them in the future no matter what the results of the November election are.