she had gone to the police instead and gotten a court order against the dog 's owner after the police chief , an old friend , had come to her house and sat in the dark listening to the dog yapping one night .