Try to initiate the shutdown sequence normally. If you shut down your computer from the power off button with the button pressed, Windows will not have time to save the data and you will end up with an empty list in IDM and you will lose all changes in opened applications.