“Going to pick it up on the way back” has nothing to do with the pet species and only to do with a bad owner, let’s also not forget even human waste has a tendency to be left on the sidewalk in SF..
Other than rabies (which I assume domesticated vet visits solves), I’ve never once heard of raccoons being violent or any reason to be scared of them