Lockups during defragmenting have resulted in total data loss. Before you ever do that again (defrag) make sure you are ready for the worse outcome.

After that, read my standing answer to defrag issues. Do try this in safe mode AFTER you have secured what you can't lose.

Bob