Complex sentence: At the end, Jack and the king fight side by side against the beast, and they defeat it, but when the fortress collapses, Jack is missing.
Split into simpler sentences: At the end, Jack and the king fight side by side against the beast, and they defeat it. But when the fortress collapses, Jack is missing.