Makes sense. Just because the overall organism shuts down doesn’t mean that the systems of the whole organism stop working immediately.
Hair and nails keep growing.