Most of us restart the computer , when a program does not respond.So at that time the unsaved data will be lost.In order to avoid the unsaved data loss , i have a simple and a clean technique.

  • Right click on the task bar , a menu appears
  • Then click on the Task Manager , the Task Manager appears
  • Select the program that is not responding and then Click the End Process button
  • Then a confirmation dialog appears , Click End Process button on it
  •  Thats it the process is ended ! 
Warning : Do not click on any windows process , if you are sure about the name of the application that is not responding , then end the process or else system may be effected.