In a death of the judge or the an attorney would cause a mistrial.
A mistrial is the equivalent of no trial, and it means that the case has to be tried again.
Mistrials are far more common in jury trials and seldom happen in divorce actions, even those relatively few that go to trial.