Maybe, accidentally, Ted's refusal to endorse Trump did some good in unifying the party. Rush says it well:
http://www.rushlimbaugh.com/daily/2016/07/21/it_s_all_personal_for_ted
"But for the most part one of the reasons people got mad at Cruz last night is that despite the fact you can't plug Trump and his campaign into the usual playbook of presidential campaigns and conventions, the one thing that is universal in terms of almost a necessity to win the White House, is party unity, and they were on the way last night. In fact, I actually think as I said an hour ago, I think what Cruz did last night as actually hastened the unification behind Trump, particularly among GOP Establishment people who were gonna hold out.
They saw what not unifying looks like last night, and they don't want to be in the same class as Ted Cruz. They don't want to be in the same room. They don't want to be thought of in the same way. They actually saw last night, the people who didn't want to unify behind Trump, they saw what it looks like when the vast majority of Republican voters and convention delegates think that you're not unifying, it's not a pretty sight. "
more.........
"So the unification is something that I think actually was hastened last night by what Cruz did, but he remains ostracized. And he did further damage to himself by putting distance between him and some of his supporters who really did want him to follow the playbook, endorse Trump, and then vanish and let Trump sink or swim, maybe do a couple of campaign appearances or whatever, but don't tie yourself to Trump, don't link your success to his, don't do any of that. But certainly appear to be a party guy, appear to be unified in the singular cause here of defeating the Democrats.
And that's the case he didn't make last night. You know, vote your conscience is one thing. But that I thought that maybe the biggest mistake, not endorsing, the non-endorsement, I think the bigger mistake that Cruz made, he explained that freedom's under assault, he explained it as well as anybody has, but he didn't close the loop. He didn't make clear the difference a Clinton and Trump presidency would make to freedom itself and to the Constitution. And I think that was a mistake."