Usually, astronauts use tethers, but if they broke, an astronaut would either orbit forever or reach the Earth’s gravitational zone and burn up while falling through the dense layers of the atmosphere. In theory, the astronaut could use an emergency jetpack to return, but the fuel supply in it is limited. Fortunately, there have been no such cases so far.