The problem with analogizing Bitcoin mining to gold mining is that Bitcoin mining secures value in the past and gold mining secures value in the future. If you stopped mining Bitcoin, all previously mined Bitcoin would lose value due to the decreased security of the block chain.
It's like if gold began to sink into the ground the moment you stopped mining it, and you had to keep mining and smelting it at a ever-more furious rate to keep it above ground.