If a CAPI window is busy and unresponsive you can use the break gesture Command+Ctrl+, (comma) to regain control.
Command+Ctrl+,
Note that this break gesture is specific to the window system your CAPI program is running in.