Years ago I had a big male shepherd that was protection trained and a great patrol dog. Trouble was, was that he was so darned confident, he thought he could take on a car, literally! We tried every conventional training method we could think of to get him to stop thinking he could take down cars, including the old-school yank out of the path of an oncoming car method. Nothing worked. If you think about, as dog owners we tend to think too much from a prevention mindset, rather than a teaching standpoint, so it's no wonder those methods didn't work.
We decided we need to find a better way to EDUCATE the dog, which is most of what good training entails. Here's what we came up with:
We found a parking lot that was empty in the middle of the night. We took a long chain and tied him out to a grated manhole in the middle of the parking lot. We had someone drive a car up to him slowly. Sure enough, he jumped out in front of it and stood his ground. The driver just kept inching forward until he made contact with the dog. Once he did, he just kept creeping foward. Once the dog realized the car was stronger than him, he moved out of its path. From that point on, whenever that dog saw a car coming his way, he made sure not to get in its way; he didn't run, or anything. In fact, when we crossed streets after that, I noticed he ALWAYS looked to make sure he wasn't going to get hit. It almost seemed like he judged their distance like a human would.