Star Trek: Troublesome Minds by Dave Galanter

Opening lines:

“Now!” Kirk ordered. Before Kirk could hear if Kyle had Spock beamed aboard, the Copernicus cracked open like a giant egg and pushed forth a massive bubble of plasma and white-hot energy. Enterprise was slammed back. She rolled away, creaking under the strain as support struts buckled and circuits sparked. The bridge lights dimmed and returned, but the ship continued to quake and rumble.