Night Court - Season 6, Episode 9: The Night Court Before Christmas.
Trailer
Season 6 opens with Dan having been rescued by an Eskimo family, but is cut off from the outside world. Back in New York, the court staff reads his will and tries to cope with his death.