Welcome to the forums! :)
In the future if this happens and any programs freeze, press the following keys to bring up the "Force Quit" window.
Command(Apple)-Option-Esc
Then select the application that is froze and click "Force Quit" and then click "Force Quit" again on the message that...