Stocks rose sharply after Russia sent troops participating in military exercises near Ukraine back to their bases. That pushed the S&P 500 to a record, erasing steep losses from Monday, when investors feared the confrontation between Russia and Ukraine would lead to war. As investors moved back into riskier assets, prices fell for safe-play investments like bonds and gold. In another sign there’s a greater appetite for risk, the Russell 2000 index of small-company stocks set a record, too; it posted the biggest percentage gain on major US stock indexes, 2.7%. Markets in Europe and Asia also recouped much of Monday’s losses.