How to diagnose a frozen Mac
You might be able to find the root cause of the freeze in the Console application. You can find it in /Applications/Utilities. 
Take a look at the system.log on the left-hand side and scroll through the entries to a time when the freeze occurred.
Hopefully you find something that points you in the right direction.