A black hole is just like any other massive object - like a star - in most respects. You can
easily safely orbit them (aren't all galaxies supposed to have supermassive black holes in their centres? And in the same way we all don't get sucked into the mass of the sun, do we?) It's only if you reach the event horizon that you reach the point of no return and they can be very small. The event horizon for a black hole the mass of the sun would be of radius 3 km - although the Sun's mass would be insufficient to actually create a black hole - a larger star that would theoretically make a black hole could have an event horizon not that much bigger. Very easy to avoid in a spaceship