An elephant which fell into a well in Kerala's Kozhikode was rescued by digging a canal parallel to the well using excavators.