And I suppose the whole thing is a closed system? Which means, none of the CO2 would be released to the outside?

Yes. If the CO2 was just released you would have to pay the energy cost to extract it from the atmosphere again.