Gives up intraday gains amid cautious mood