I had a big black dog having a go at me last weekend, in the middle of nowhere. I was cycling up a very steep hill and could not go any faster. The dog followed me, barking and running around me. I didn't stop and started to get worried because he didn't seem to be playing. I didn't know what to do so carried on climbing no faster than 5 miles/hr. The bastard still followed me. I could not see the owner or anyone around so in a moment of panic I started to shout at the dog: STOP, STOP, STOP! I got his attention for a couple of seconds only.
The stupid dog didn't stop, he carried on barking and running at my direction. My legs were aching and my lungs just about to explode. I was at my limit and in a moment of despair I said the words "Go home, please!" I looked at him and he just stood there in front of me with his ears perked. I was still moving, climbing and wishing him just to leave me alone. So I shouted at him again "Go home, go home now" (no please, this time).. It worked! he stopped and a couple of meters away I was on my own again..