I installed Ubuntu 16.04 from a bootable USB. I made the disk by opening the iso with Archive Manager and then writing it to USB. I don't know what happened but I cannot format the pen drive now. Here is a screen shot of the error I get:
Windows shows that the pen drive has 2 MB of space whereas the actual space is > 6 GB. Also, all files in the pen drive are read-only and it doesn't allow me to change permissions.