Castrating him may make some difference and bring benefits, but mostly in other ways than stopping the wandering [see posts above!]. , I've had several bitches that would disappear for hours or overnight on a regular basis, not a question of their being in season and looking for a bit of action.This is a rural area and usually they were out rabbiting and having a great time, I'm sure.They always returned tired, happy, and muddy( One of them,though, I discovered, used to go a long way to a cafe, and get 'treats' from the bins !)The answer is good fences and gates at home and not to trust him off the lead when out. Dogs can be trained to come to call (shepherds don't lose many sheepdogs) but it can be very hard work and not 100 per cent even then, and once a dog has learned the practice, and the joys of the wide outdoors, it's nigh on impossible.