Well, that is the intention of Cruz and Kasich staying the race, to try to get to the Convention.
Donald Trump isn't The Sun King. He does't have a divine right to the nomination. If he can reach 1237 he gets it. If not, well.....