Release of energy stored in Inductor and Capacitor
Inductors store energy in the magnetic field generated when current passes through them. When the supply is removed, the collapsing magnetic field induces a current flow in the same direction that it was traveling when it generated the magnetic field in the first place. This is why it is used as one of the storage devices in switching power supplies; the capacitor maintains the same voltage, and the inductor maintains the same current.







simulate this circuit &ndash; Schematic created using CircuitLab

(But don't try to actually build this circuit.)