S&P BSE Sensex closed with gains of over 400 points while Nifty50 reclaimed 18,600 levels on Tuesday.