What operation could cause the inductor or the capacitor to explode?
Thou shall NOT open-circuit a charged inductor.

Thou shall NOT short-circuit a charged capacitor.

If you think about it from their fundamental equations:

\$V = L\dfrac{di}{dt}\$ - a sudden change in current (i.e. forced open circuit) will result in infinite voltage.

\$I = C\dfrac{dv}{dt}\$ - sudden change in voltage (i.e. short circuit) will result in an infinite current.

It's obviously not infinite in practice (due to strays and the ability to change the voltage/current fast enough) BUT it is significant enough to damage electronics...