Topic: My iMac Freezes

Can someone help, if i forget to turn off my Pianoteq program first my iMac Freezes up, so if i turn off my Piano first i then have to Restart my Mac every time as the mouse and Keyboard are Frozen.