The end result of your actions is annoying to the neighbor.
But the dog was found, is safe, and is fine. Don’t overthink it. It’s not like you dumped the dog in an alley or acted lazy out of negligence.
It’s possible the owner will be annoyed, or themselves be hysterical or annoying. Don’t take it personally. I, myself, would be terrified if my dog had disappeared and there’s a high possibility I’d go a bit delulu. Either way, your actions were well and thoroughly considered. Move on.