Former K-9 recovering after falling into 40-foot well