Indian markets ended a five-day losing run as the Sensex jumped 776 points and the Nifty settled at 23,995.95 on Monday.