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