US stocks recovered to end mostly higher on Wednesday after a near session-long retreat on worries of a Greek exit from the euro.
Coming back from a 191-point deficit, the Dow Jones Industrial Average finished at 12,496.15, down 6.66 points, or 0.1 percent.
The S&P 500 Index gained 2.23 points, or 0.2 percent, to 1,318.86.
The Nasdaq Composite rose 11.04 points, or 0.4 percent, to 2,850.12.