The Sensex and Nifty ended a five-day slump with a sharp Monday rally, closing at 76,835.78 and 23,995.95 respectively.