This question already has an answer here:
I was copying some stuff in one friends pen-drive from my Windows 8. At 400-500MB it stopped copying. So I tried to Safely Remove, but as copying process was on / paused. it cant be safely removed. So I just removed/ejected pen-drive directly, then turn off pc and restarted pc again and re-inserted pendrive. Some of files which we copied earlier got corrupted. So I tried to format it, and boom. Pendrive Inaccessible and only pen-drive shows 8MB storage.
I tried to format it using HP Software, DOS, etc. I found that boot-sector failed reason.
I want pen-drive back, as it was my friends and it was designer collection pendrive