Bewitched - Season 2 - Eps 9: And Then I Wrote...
Samantha sets up a play for a rest home to celebrate the end of the Civil War. As she writes, Endora brings her characters to life to help Sam out. Of course, nosy Gladys see all this and goes crazy, as usual. Sam suffers a writer's block near the end of writing, and her play characters lend a hand to tie up the loose ends.
About Bewitched

Title: Bewitched
First Air Date: 1964-09-17
Last Air Date: 1972-03-25
Status: Ended
Rating: 7.861/10 (from 695 votes)
Language: EN
Seasons: 8
Total Episodes: 254
Network: ABC
Genres: Sci-Fi & Fantasy, Comedy, Family, Drama
Production Companies: Columbia Pictures Television, Screen Gems
Synopsis
Samantha Stephens is a seemingly normal suburban housewife who also happens to be a genuine witch, with all the requisite magical powers. Her husband Darrin insists that Samantha keep her witchcraft under wraps, but situations invariably require her to indulge her powers while keeping her bothersome mother Endora at bay.
Cast

Elizabeth Montgomery
Samantha Stephens

Dick Sargent
Darrin Stephens

Agnes Moorehead
Endora

David White
Larry Tate