Understanding Kepler's laws, a body with speed exceeding escape speed of a major body will move in a hyperbolic trajectory, entry and exit vector, a "less than ellipsis" curve. You don't get closed (self-intersecting) trajectories other than ellipses.
Am I correct that an inert body will not naturally pass by a major body along a route shaped like the Roman gamma letter $ɣ$?
If so, what powered flight prerequisites would the body need to fulfill to achieve exit along such a trajectory (and preferably exit with more speed than it had while entering, and possibly profit from gravitational assist and/or Oberth maneuver)?