You were wise to avoid confrontation, modern life is increasingly producing extreme and violent reactions, sometimes prompted by mental illness.
The force that might have become necessary if you had taken direct action could well have resulted in you being arrested on suspicion of an offence...