Jon Pertwee’s last turn as Doctor Who was in the 1989 stage play, “Doctor Who: the Ultimate Adventure.”