I used Balena etcher to format a usb stick onto a debian iso, then wanted to undo it. Did diskpart but closed it in the middle of formatting, now even after cleaning it only shows 900~ mb of unallocated space even though it is a 16gb drive. When i do format from the file explorer it says unknown capacity. I can't just format the unallocated space, because it doesnt show all of the space that's supposed to be unallocated. seems like its corrupted, how can i fix it?
Cleaning isn't the command to go for, use disk management or a 3rd party partition tool to delete all partitions and make a new one.
Upload a pic from disk manager showing all the info if it won't let you.