The bigger question is, "Why did the bolt 'spin?'" Is the bolt stripped - are the threads in the compressor damaged? Was the wrong bolt size used - incorrect diameter, pitch or length? Was it just overtightened? You need to figure out what went wrong.
A closely related question is, "Why was it leaking refrigerant in the first place?" Were the wrong o-rings used? Were the o-rings installed dry? Was the manifold bolt cross-threaded and the o-rings not properly clamped?
-------------------------
When you lost the refrigerant charge, guesstimate how much oil you lost by the amount of oil coating the area surrounding the blowout.
Until you get it repaired, cap the lines and compressor ports to prevent entry of dirt and moisture. Chances are good that you will not need to reflush the system or replace the accumulator again if you cap the system off. In any case, the system will need to be evacuated again and recharged. Any repair of the compressor head (if needed) will have to be addressed by someone knowledgeable, who can evaluate the situation first hand.