Are you thinking of Gateway by Frederik Pohl?
Gateway is a space station built into a hollow asteroid constructed by the Heechee, a long-vanished alien race. Humans have had limited success understanding Heechee technology found there and elsewhere in the solar system.
The main character is Robinette Stetley Broadhead — known as Robin, Rob, Robbie, or Bob, depending on circumstances and his state of mind. He is a young food shale miner on Earth who wins a lottery, giving him just enough money to purchase a one-way ticket to Gateway.
He develops a relationship with a woman named Klara who works on the space station.
When the ships arrive, their crews find to their horror that they are in the gravitational grip of a black hole without enough power to break free. The crews devise a desperate escape plan: Move everyone into one ship and eject the other toward the black hole, thus gaining enough of a boost to escape. Working frantically to transfer unnecessary equipment to make room, Broadhead finds himself alone in the wrong ship when time runs out. He closes the hatch so that the plan can proceed. By chance, his ship is the one that breaks free, leaving the rest of the crew falling into the black hole.
Broadhead returns to Gateway and receives the entire bonus. He feels enormous survivor guilt for leaving his crewmates, especially Klara, and is unsure whether he intended to sacrifice himself or the others.