Research encounters, whether breakthroughs, field research, or special research, as far as we know, do not flee, ever. You can quit them and go back to them.
If you have lots of pinap berries, best strategy is to use pinaps and regular balls until you catch it. If you're not rolling in pinaps, use great or ultra balls to decrease the amount of berries and balls you need to use to get the catch.