An autopsy revealed the elephant had pancreatic cancer, said the chief vet.