After the peak of the action potential, the sodium channels close, and voltage-gated potassium channels open. This allows K+ ions to exit the cell, restoring the negative membrane potential. This phase is called repolarization. The movement of K+ out of the cell temporarily causes the membrane potential to become more negative than the resting potential, a phase known as hyperpolarization.