By not making sudden movements, the dog should eventually lose interest in you and move on, but if it is barking or growling, ...