The screenshot is self-explicative.
The shutdown process seems starting when the defrag process is about at 96% - 98% completed.