Stocks stumble, then mostly recover in late trade