I've had a close call in the past where a trained and obedient dog almost took me off my bike. The owner's explanation of "she's never done that before" didn't go down to well.
If you were on a public road where vehicles were moving, your dog, trained or otherwise, should have been on a leash.
DC