Unity, love, and friendship saved the day. Lodda, Porvus, and the Oracle couldn't fully trust each other and work together in a meaningful way. Lodda was a narrow-minded fool. His plans would never have worked. They were based on too many flawed conceptions. The idea he would try to leave this system with only accumulated magic is one of them.
There are still some unknowns. The ship was heavily damaged, but the Oracle still exists. Lodda is exiled to a prison of his own making, but he has an eternity to forge an escape. Anything is possible.
There is the possibility of new adventures in the future and I hope we'll see them in time. This one was marvelous.