
By default, your Mac should reboot if it freezes. This is good for most of us, but that auto restart can make troubleshooting difficult for advanced users. OS X Daily shows you how to change it with a Terminal command.
Source: LifeHacker – Change Whether Your Mac Automatically Reboots After a System Freeze or Not