. After the action potential passes through an axon, what restores the resting potential?

AGated sodium channels open and allow sodium to flow into the cell.
BGated sodium channels open and allow potassium ions to flow out.
CGated potassium channels open and allow potassium ions to flow out.
DGated potassium channels open and allow sodium to flow out of the cell.