They were alerted by a taxi driver who left the pair home.
When they arrived, the woman flagged police down, saying the man had chased her with a shovel.
PSNI Foyle took to social media to thank the taxi driver.
They said they 'dread to think' what may have happened if they weren't there.
He is due to appear in court in connection with the incident.
‘Intensive work’ continuing to agree multi-year budget for Northern Ireland
Strength of evidence against man charged with murdering Lyra McKee questioned
Teenage boy arrested over cyber attack on schools’ IT system
Ulster University to cut up to 450 jobs amid funding pressures
Northern Ireland MPs call on Prime Minister to act amid fuel protests