The Wounded Sky

[1] The Enterprise, equipped with a radical new "inversion drive" which allows the ship to bend spacetime and transit immense distances instantly, is sent on a mission to the Magellanic Clouds just outside the Milky Way, in order to place navigation beacons for future extra-galactic voyages using the new technology.

Unknown to anyone on the starship, however, the use of the drive destabilizes spacetime itself on a fundamental level, creating a rift or tear through which another, external universe penetrates and begins to mix with the Enterprise's own, with rapidly spreading, potentially fatal consequences for all life everywhere.

Arriving near the rift and observing the destruction it inflicts on nearby star systems, they discover that the price for traveling distances that would take centuries to cover with warp drive may be the loss of their own universe.

Deliberately using the drive one, final time, they cross the "boundary" between external "reality" and their own collective inner consciousness, where they must together draw on mental, emotional and spiritual strengths to heal the wound that they have caused.

Like most of Diane Duane's TOS-era novels, this one includes several scenes in the ship's recreation room, one of which quotes a Star Trek filk song based on John Denver's "Calypso".