Plant matter dies and rots and the carbon escapes to the atmosphere.
Ever since microorganisms evolved to eat dead plant matter the conditions to make coal on planet earth (and to create a carbon sink of buried coal) have been gone.
I'm not particularly strict on the terminology of whether a carbon sink is permanent or not (in my usage above it is not permanent). But yeah we are on the same page regarding the life cycle of a tree now so it is clear.