I used to have a WD Elements drive that when I unplugged the USB before the power EVERY SINGLE time it would turn the drive* from 'NTFS' to 'RAW' format. I found a guide online with instructions to open the drive in this particular hex editor and change the code at a specific address depending on what the format was supposed to be ie NTFS. I forgot a couple more times but after fixing it for oh the 4th or 5th time I finally remembered to unplug the power before the USB cable lol... Fun times.
*I should clarify, it changed the notation in the MBR as to what the drive was formatted with.