From time to time, for reasons well beyond the scope of this book, applications hang and become unresponsive, no matter what you try to do. In these cases, you might have to resort to terminating the application forcefully, as described shortly.
Before you terminate an application forcefully, however, you need to eliminate the obvious; that is you should be aware of the flow of the application and what it might be expecting to happen next. For example, if you are in the middle of a setup program for a new application you are installing and you switch to another screen, the setup program will eventually reach a point where it is expecting input from you to complete what it needs to do. You can switch among the active applications by pressing Alt+Tab. When you reach the window that is expecting input, you may be able to provide what is needed and simply move on.
In other cases, you may have to forcefully terminate an application. To do this, you have to follow these steps: