./gamemode creative is completely acceptable for something like that, but you sure it wasnt a EU stack of some sort from multiple battboxes or any transformers?
In this case, most of the items in nearby chests, which exploded, vanished, probably because there was a chain explosion triggered by only one machine and the remaining ones followed.
So yeah, if it was only for the machines, I could have taken them back and placed them at their old positions, but I lost all of my ores and fuel, in form of lava in tanks and charcoal. Pretty sad.
The thing I don't actually understand is why that happened, because I had only one LV GT battery buffer emitting power at 8 ampere, into 12x zinc cables, and when I wrenched the buffer to change the output side from the LV energy hatch of the blast furnace to the cables feeding all of my LV machines (something like 12 machines), boom.
There is one thing that makes me think, though. A few minutes earlier I changed my boiler setup, and added one LV steam turbine, having two lava boilers feeding two LV turbines who were feeding one LV battery buffer. The complex seemed stable for all the time, and I thought this would have caused no problem because the input energy for the buffer was of 32 EU/t at 2 ampere. But maybe I missed something...