My old dogs wouldn’t leave the yard if I tried to run them out, but I have a 9 month old wolf looking pup that likes to get out to go get a couple of pub buddies that live behind us. The three of them come straight back to our yard, but it worries me. An ID chip might be in his near future.
Some breeds are quite content with their little piece of turf and see no reason to leave it. Others like to roam, for instance Huskies are notorious for taking off and going long distances when they’re on the lam, they make practically a beeline, like they’re in the Iditarod or something, lol. But, then again, breed behavior was selectively bred into them, so they would show a preference for that sort of behavior.