If you were flying a Buzzard (the T2 version of the Heron) you have multiple options.
- A Covert cloak means you can turn on the cloak and move really fast to one of the edges of the bubble and warp away.
- An interdiction nullification module (which can fit to T2 explorers and some other ships) can be turned on to ignore the bubble
As you’re not flying a T2 explorer yet, your loss is less big but you still have a good option in that situation:
Crash the gate
Basically you burn back to the gate, turn on your propmod (overheat the propmod if necessary) and jump out of the system. As long as you did not fight back you will not have a weapons timer and will be allowed to jump the gate. If the interdictor did shoot at you while you were crashing the gate they have a weapons timer and will not be allowed through, so you can flee at the other side. If the interdictor did not shoot you he is allowed to jump after you and he will try to bubble you on the other side as well. If that happens, repeat the procedure, because you will not die when the interdictor does not shoot you and if he does shoot you you can escape at the other side of the gate.