Market ends mixed on lingering risk-off mood