But (the big BUT) if we could get it hauled up there the power would be immense and it can be beamed back to earth and this would work in short order.
That pretty much describes the Sun doesn't it (the confinement being gravitational)?
Yes, I get your point, the problem is that the sun isn’t in a closed system.
But you are absolutely right, the lack of gravity allows the sun to stay put.