I see, so my case can be theoritically wrong, given that for high frequencies I have to consider the decaying period of the demagnetizing, correct?About 40 years ago my employer at the time produced an assembly machine that used a magnetic pickup for a rather small part. It used an electromagnet to pick up the part from a non-metallic nest, and then moved the part into position where it should be released. BUT the residual magnetism did not decay fast enough for the production rate. So we had to add a very brief burst of reversed polarity to cancel that. That short burst was delivered thru a capacitor, about 0.47 mFD, I think. Then the pickup magnet would retract and the revers capacitor was discharged by a short circuit, until the next cycle.. That is the other way to produce the reverse polarity burst. Not any power recovered, but the problem solved.
My perspective doesn't depend on reversing the connection directly to retrieve the energy, there should be an energy storing phase before the reverse, so the needed power to magnetizing the next positive phase is minimal (Just to compensate the resistance losses in the demagnetizing and magnetizing phases.A good brushless motor running at its optimum design parameters is 70 - 80% efficient, but that wouldn't be the case here...
Incidentally, I was intrigued by your thinking, but I think the fallacy in your argument is the 'recovery' from the reversed connection. For any real-world electromagnet actually doing 'work' the losses are far greater than you might anticipate.
What you propose seems similar to the flywheel buses used in Scandinavia and elsewhere: in those buses a heavy flywheel is spun up to a high speed using an electric 'motor'. The flywheel then drives the wheels of the bus either directly, or using the motor as a generator driving electric motors at the wheels. The latter, though sounding less efficient, turns out to be much better & easier than a mechanical coupling, having around 55% efficiency overall.