(full disclosure: never played KSP)
If the only rules are "only accelerate away from the nearest star", that doesn't preclude using a planetary gravity field to also adjust your orbit.
E.g. Making small course corrections in interstellar space (or simply mission planning exactly enough) so that you hit a planet's gravity well on insertion into the destination solar system, thereby slinging yourself into a more manageable eliptical orbit (and potentially burning something else at the right point to change your orbit)
I'd also be really curious on how something like this works in the area of interaction between a planetary magnetosphere and the "sail" (e.g: https://en.m.wikipedia.org/wiki/Magnetosphere#/media/File%3A... ). Looks complicated!
You’d probably just sail on past, with a deviation in course, but not orbit or a 180. For any gravitational maneuver, you could rely on momentum and shut down the drive, restarting for the return leg.
Can't wait to see a cubesat demonstration vehicle blow past Mars!
I'm not an expert on plasma physics, but - couldn't do the solar equivalent of "tacking" - deform your magnetic field so that the solar wind flux in front is less than the flux behind, leading to a tangential acceleration, which could be used to achieve orbits that fall back into the sun?
Your momentum is what you’d be pushing against.
Specifically, using a force vector with a substantial component (greater than 50%) in the opposite direction of travel. It would push you out but also slow you down.
This kind of vectoring should be straightforward with a solar sail because it is flat. But if a magnetic field is perfectly spherical then there aren’t any angles. You’d have to make a fairly flat magnetic field to pull that off.
If you're in a circular orbit, and run this for a while (short compared to orbital period), then turn it off, I think you'll be in an elliptical orbit with perihelion lower than your initial orbit. If when you reach perihelion there happens to be a convenient planet with an atmosphere, you could aerobrake and either land or maybe continue in a circular orbit closer to the sun than your original orbit.