Once Belial has killed the worm, you need to get out of there quickly before you drown. And there's only place you can go.
Turn to the south from the worm's location, and then take the first passageway to the west.
You'll see a floating pallet there.