I believe the answer is: brainstem
Brainstem plays a really important role in regulating the consciousness of living organisms. when it's dissapear, the body would still remember the things that its usually do. But since the brainstem is gone, none of the action is being done through awareness or purpose.