When it does happen, typically a necropsy is performed to determine cause of death and if anything could have been done to prevent it. Individual parts may be used in collaboration with other research institutions for any further beneficial experimentation, and then the corpse would be disposed of.