You just made that up, dude.
The Scene:
After The Final Battle, the Enterprise gets too close to the black hole! They’re getting drawn in, and Scotty says that if they eject the warp core and blow it up, the explosion might propel them to safety.
The Science:
Simply put, that won’t work. Sorry Scotty!
On Earth, detonating a bomb creates a shock wave, an expanding wave of pressure as the force from the explosion propagates through the air. In space — wait for it, wait for it… — there’s no air! So you don’t get a shock wave. When the matter and antimatter in the core combine, you get a fierce blast of electromagnetic radiation (fancy science-talk for light) in the form of gamma rays, and an expanding very thin shell of vaporized atoms from the material in the warp core itself.
To propel the Big E to safety, the bomb would have to transfer momentum to the ship. […]
» taken from: Bad Astronomy Review: Star Trek
The Writers:
“Hawking proved that Black Holes actually devaporate. And that in the event horizon virtual particles can be created that sap energy from the Black Hole and actually real particles can escape it as the fake, virtual particle falls in and the real particle goes out. The anti-matter/matter reaction from that didn’t exactly just push it away, that’s a simplified movie version. What it did was stretch space and create space and get you away from the event horizon.”
» clumsily transcribed from: Star Trek Q&A with Alex Kurtzman and Roberto Orci (download)