Loss of autophagy in pro-opiomelanocortin neurons perturbs axon growth and causes metabolic dysregulation.