Dog domestication is generally thought to be an example of commensalism, and potentially mutualism. https://www.frontiersin.org/articles/10.3389/fvets.2021.6623... In other words, it only happened in the first place because a group of wolves benefited from association with people. Pleistocene hunter-gatherers did not have the physical ability to force a grown wolf to be captive if it did not want to be.
If your dog wanted to run away it probably had a shitty life.
I know some well-trained dogs that will still gleefully run away and explore the woods if given the chance... and then return sheepishly 20-30 minutes later. If they ever do get lost, or someone else "finds" them, etc, it'll be a tragedy.
They also tend to come back covered in thorns, with cut-up paws, etc, etc.
Not a feedlot nextdoor to OP.