The store of carbon in sedimentary rock is far greater than the CO in the atmosphere (this is not shown in the diagram). Eventually it returns to the air as oceanic plates subduct in plate tectonics. At the margins of plate boundaries (and some other places) volcanoes form and spew out CO. This completes the cycle.