A happy and healthy dog needs to be satisfied both mentally and physically. Running can work to the physical aspect and challenging commands can stimulate your dog mentally. Most importantly you need to know that a dog really needs to run free. A long walk with your dog, say lasting about one and a half hours is of... much less value to your dog than ten minutes of running free. Not allowing your dog to run free can lead to frustration, stress and anxiety.
So give your dog some room to roam and keep them happy and healthy.