How's the membrane potential restored to resting state after hyper polarisation?
The Na,K-ATPase restores negative membrane potentials.  When a cell is hyperpolarized, leaky K+ channels take care of that. Leaky K+ channels are always open. Generally, K+ has the tendency to diffuse back out of the cell along its chemical gradient through leaky K+ channels, after been pumped in, making the cell's inside more negative. However, in the reverse situation, where the cell is hyperpolarized, they may flow inwards, along the electrical gradient.

Note that while the Na,K-ATPase is indeed the driving force behind the membrane potential, it is not the direct consequence of the ratio of Na+ being pumped out and K+ being pumped into the cell. It is the leaky K+ channels that determine the membrane potential largely, together with the Na+ channels being permanently closed, except when an action potential is generated.

Suggested further readings
- What keeps the resting potential of neurons constant at -70 mV?
- If the average resting potential of a neuron is -70 mV, why is there such a high ratio of potassium ions inside relative to out?