The two-year-old calf was roaming with its mother yesterday when it fell into the four-feet-deep trench dug by a farmer.
The mother tried to rescue its baby but in vain. Villagers tried to chase away the elephant but it advanced menacingly towards them and they fled.
Forest officials then managed to chase away the mother and started rescue operations by using an earth-mover. After struggling for two hours, the baby elephant was pulled out from the pit, officials said.
Officials said efforts would be made to sent it to the forest and reunite it with the mother.
Meanwhile, the body of a 27-year-old woman was found in the Punjai Puliampatty forest area, yesterday.
Forest officials said about three days ago, she entered the forest to collect forest produce but was trampled to death by an elephant.