Chester Goode (Dennis Weaver) was NEVER written off Gunsmoke.
He appeared in every episode from the series premiere (1955) through the finale (1975)—all 20 seasons, 635 episodes.
Dennis Weaver left voluntarily after Season 9 (1964) to pursue other roles. Chester's departure was not a "write-off"—the character simply stopped appearing. Weaver returned for guest spots and the 1987 TV movie Gunsmoke: Return to Dodge.
Festus Haggen (Ken Curtis) replaced him as deputy, but Chester remained canonically alive. The distinction matters: a write-off implies narrative death or dismissal; Weaver's exit was a career choice, not a character fate.