A fearless ferret had a miracle escape after dodging traffic and trains on a four mile adventure across town.