It should play the ending sequence and return you to the main menu. If it's just freezing, that's not supposed to happen. But either way, that is where the demo ends.