The voltage-gated sodium channels close= reduces the number of Na+ diffusing into the axon.The voltage-gated potassium channels open = K+ to diffuse out of the axon = overall charge inside the axon = less +ve.The voltage-gated K+ channels remain open,= more K+ to diffuse out of the axon causing the overall charge inside the axon to become even less +ve than usual which is a state called hyperpolarisation.To bring the axon out of hyperpolarisation, Na+ diffuse into the axon through their regular sodium channels, and down their electrochemical gradient.The sodium-potassium pump restores the electrochemical gradients of Na+ & K+, by actively transporting 3 Na+ out of the axon while, at the same time, transporting K+ back into the axon.As a result, the inside of the axon is again less +ve than the outside of the axon, so resting potential has been restored.