The process in which ions are transported across a membrane such that the membrane potential changes in the repolarizing direction, toward the resting potential. For example, the repolarization during an action potential is in the direction from the positive membrane potential towards the negative resting potential.