system
Given the following post, respond as if you're commenting on Reddit:
human
After you die, how long does it take the various cells in your body to die? What happens to your gut bacteria?
gpt
Not very long - cells require oxygen to function, so moments after your brain and heart stop, your cells may begin dying in a upwards, collective motion that can span days, weeks, or even months. Usually, starts with the liver and the brain, since they are enzyme rich.

When cells die, they leak digestive enzymes that participate in putrefaction, and causes collapses of capillaries for red blood cells.

As for the gut bacteria, they also help in the process of decay by digesting your organs - until they can freely leave the body either by spilling out of your decaying body, or being carried by maggots, botflies, or other organisms.

Edit: Removed "signaling other cell death." Depending on the kind of cell death, surrounding white blood cells become receptive to dead cells. Cells in apoptosis (cell suicide) for example typically will distance themselves.
With most somatic cells dropping like flies with the lack of oxygen, cells’ contents can leak out and damage neighbouring cells.