After the Miss Switch children’s book and cartoon, there was a two-part ABC Weekend Special (“Miss Switch to the Rescue”) where a pirate who’s been stuck in a bottle for centuries takes one of Miss Switch’s students (Amelia) back to his time, and the teacher-cum-witch and another student (Rupert) go back to rescue her.
Michael Main

Variants

(1)
  1. Miss Switch to the Rescue by Sheldon Stark, directed by Charles A. Nichols (ABC-TV, USA, 16 January 1982).
  2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . written by Sheldon Stark
    Barbara Brooks Wallace (based on a work by)
    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . directed by Charles A. Nichols

Indexer Notes

(1)
  1. Release—The two-part release (on 16 and 23 January 1982) is confirmed at Hanna-Barbera Fandom. The episode numbers of [s5e4–5] are from Wikipedia.