In sync with stock markets, the rupee today surrendered its earlier gains and closed 32 paise down at 55.74 against the US currency as dollar demand from banks and corporates emerged at fag-end after S&P warned that it could lower India's sovereign rating.