Shutting down only returns a Mac to a certain default running state.
If the beach balling problem is there, it can and, most probably, will return.
Sometimes a shut down or restart can reset things, but if this was something that was nagging issue, it may return.
It's better for a Mac to sleep or hibernate than to constantly shut it down.
Shutting down and starting up a computer all the time puts more strain on electronic components than just letting the computer sleep and go into a reduced power mode.
Sometimes Safari ( or any web browser) can be the culprit as Adobe Flash Player, running inside Safari, can eat up a lot of CPU and RAM resources when on a website that needs extensive use of Adobe Flash Player. Also, animations and pop- up ads in a web browser can have the web browser using up more CPU and RAM cycles, too! Other web browser factors like having a lot of windows or tabs active can increase the amount of RAM that the web browser is using.
Also, it a good idea not to have too many CPU and RAM intensive apps running concurrently in the background.
Also, some unknown process can eat up system resources.
From time to time if the beach balling returns, launch Activity Monitor app inside your Applications>Utilities folder a see if there are any processes that are eating up an excessive amount of RAM or CPU cycles.
Any antivirus apps are known causes of OS X slowdowns and beach balling as well as a lot of " crapware" like MacKeeper. Keep software like that off of your system.