Shouldn’t it rather be fdisk /mbr instead of format? Format is likely to delete all the data.
In any case, this kind of operations should be performed by an experienced user…