The energy to lift it will be greater than that contained within the material itself (having alternate uses for that hydrogen aside), but the hydrogen is disappearing if you don't save it. But yeah, 'maths required' if we're to say that pulling out the hydrogen will slow the total hydrogen consumption.