>>106303860
if you have a wheel spinning in space, yes it will keep spinning for an extremely long time... if you leave it alone. if you try to extract energy from it, it will slow down.
like the same rules apply in space as it does on earth, if it takes say 100W to spin this wheel up, if you later extract 100W from it, it will come to a stop, because it only had 100W of potential energy in that spin to begin with. if it worked like how you were thinking, we'd put wheels in vacuum chambers suspended with magnets to create free energy devices, since the only difference between a spinning wheel in space and on earth is that on earth you have friction to worry about.
... speaking of there have been people making energy storage out of large, fast-spinning wheels suspended with magnets, it's just again, it's not 'free', you only get out what you put into it