Diabetic ketoacidosis
Giving insulin.  Insulin reverses all of the changes in the body that cause DKA.  It brings sugar out of the bloodstream and into the cells.  Once the cells have enough insulin, they can break down glucose to get energy.