We sometimes delete a photo from a pen drive by accident, but it is not an unsolvable case. Even though you formatted the pen drive, you can still find your photos back.
If you are thinking" I want to restore/recover my deleted photos from a USB drive", go through the detailed content.