We have an ideal inductor with the dc source in figure A.
When switch is closed we get equal and opposite voltage across the inductor against the source voltage and a constant rate of rise of current given by di/dt = V/L. This constant rate of rise/change in current will also produce the rising magnetic field (shown in green colour).
Suppose some how we reverse the battery instantly, shown in figure B. That reversed battery will cause the reversed rise of current (shown in figure B in brown colour). But at the same time the magnetic field (which was caused by the current when battery was not reversed) is collapsing and is inducing the voltage and current opposite to the reversed current.
My question is will there be no reversed current flowing as long as the magnetic field is collapsing as that collapsing magnetic field is causing the current in the opposite direction of the reversed current.
Plus there will also be electric and magnetic field produced by the reversed voltage.
How will these two collapsing and rising magnetic field are going to interact with each other ?