I agree with ESOXmaniac. I have loads of rackmount UPS on site and am forever telling the field crews not to discharge test them by pulling the IEC input connector for exactly those reasons. If you check the equipment manuals, there should be a note along these lines buried somewhere.
Further...