You can orbit a black hole without being trapped by it. Heck, we, here on Earth, are orbiting a black hole and are not permanently trapped by it (the Supermassive at the center of the Milky Way).
The point at which you cannot re-escape from a black hole's gravity well by normal means is the Event Horizon. The distance from the singularity at which not even light has sufficient velocity to escape. The reason you can't do this is because (thanks to the theory of relativity) you would require an infinite amount of energy to even reach the speed of light...much less exceed it.
So, as long as you stay away from the Event Horizon, you can escape the black hole's gravity well the same exact way you escape from anything else's gravity well. Accelerate.
If you have somehow survived passing through a black hole's event horizon (Tidal forces would have ripped you into bits first) then unless you have a physics-defying FTL drive (or some way to neutralize gravity), you're screwed. Detonating a star releases a ton of energy, yes. But to exceed the speed of light (escape velocity from within the event horizon), you need more than infinite energy. A supernova does not provide this. Nothing does. All you would accomplish is to feed the star to the black hole, making the black hole bigger, more massive, and increasing its gravity well, putting the event horizon even further from you.
If you have an FTL or anti-gravity drive of some sort, you can probably still get away, since you can move faster than light (or ignore gravity) already. But, again, the insane tidal forces of a black hole at close range would probably have killed you.
But then again...why the heck would you go inside a black hole's event horizon? Just orbit at a safe distance.