You can modify both your own and the target's insertion and destination points.

The mission ends when you have eliminated the main target and reached your destination.