“After clinical death, which is characterized by the cessation of blood circulation and breathing, the heart can maintain activity for hours or even days.”…
https://www.chameleons.info/l/heart-beating-after-death/
https://www.chameleons.info/l/heart-beating-after-death/