Consciousness persists briefly due to the gradual cessation of brain functions, even after the heart stops beating.