She becomes very ill and eventually dies; whereafter the king believes that her spirit will return to the underworld.
She becomes very ill. She dies. Her spirit will return to the underworld. This is what whereafter the king believes.