We had an issue with Sophie barking and chasing anyone leaving. Not sure if it was meant as don't go, or don't come back. I had to make sure the people turned stopped and told her "NO" in a stern voice. She has gotten better about it.
It is difficult to stop as I think it has something to do with the chasing down prey drive.