To save someone two seconds of searching,
NASA animation of Voyager 2's trajectory (time in the bottom-left corner): https://youtu.be/l8TA7BU2Bvo
NASA animation of Voyager 2's trajectory (time in the bottom-left corner): https://youtu.be/l8TA7BU2Bvo
While I'm here: why didn't Voyager 2 continue to slingshot to Pluto? The answer is that its trajectory would have had to bend by about 90° at Neptune, which would have required an apex closer to Neptune's center of mass than the planet's own radius - it would have crashed into the planet instead.
Midcourse corrections are a standard and planned part of lots of probe missions.
I think we even did midcourse corrections for the moon missions.