The author presents an algorithm that uses demonstrations to synthesize feedback controllers efficiently, switching between reference trajectories for steering systems into goal sets.