1. An implantable system configured to be implanted in a patient, comprising: an accelerometer; a neural stimulator configured to deliver neural stimulation to a neural target; and a controller configured to use the accelerometer to detect laryngeal vibration or coughing, and configured to deliver a programmed neural stimulation therapy using the neural stimulator and using detected laryngeal vibration or detected coughing as an input to the programmed neural stimulation therapy.