Once you format, it ends. It only runs once, so if you take it off the network, it will stop.
It can only infect files it can read (shares) without special permissions.
The only reason solution is to backup all your files.
You can usually do a search for HELP_DECRYPT to find any encrypted...