You did exactly the right thing under the circumstances. Just about any other response, considering the psychotic state of the owner, could have made for a very bad day, involving police, doctors, and lawyers. Over a dog. There is a time to take a stand. This wasn't it.
If you could have identified the owner and location, it would have been a good idea to file a complaint for the record.