Pretty simple - to avoid such an accident, there is just a need for a short wire, keeping the towing rope always upon the tugs stern. This wire was handled by means of a winch to give way ot tightening when needed. The traditional harbour tugs with one prop and a single rudder (or Kort-Nozzle) have done so since more than 100 years!