The results of the Federal Reserve's June meeting were not a surprise. The central bank left rates unchanged just as Wall Street had pegged. 

The steady-as-she-goes Fed helped stocks retain the day's modest gains, until a sudden reversal in the final minutes of the session. The S&P 500 closed down 0.18%, the Dow Jones Industrial Average slid 0.20% and the Nasdaq fell 0.18%. 

What was a surprise, though, was the shedding of hawkish rhetoric that characterized Fed chatter in recent months. This was a Fed that wasn't ready to make a move on rates yet and appeared in no hurry to do so. The number of Fed officials who expect to see just one rate hike this year rose to six members, up from just one official in its previous April meeting. 

The Fed expects to stick to its plan to gradually increase rates alongside expected growth in the U.S. economy, Yellen said in a speech following a two-day meeting of the Federal Open Market Committee. Yellen cautioned investors not to overreact to one piece of data, such as a weak May jobs report, and reiterated her belief the economy will grow at a moderate pace. Weakness in the first quarter appears to be temporary, Yellen added.

The average Fed member expects the U.S. economy to grow about 2% with the unemployment rate dipping to 4.6% in 2016. Inflation is expected to increase to the Fed's 2% target rate by the end of 2018. The central bank kept its fed funds rate outlook unchanged in 2016, though lowered its outlook for 2017 and 2018. 

"Even if two rate increases ultimately are approved in 2016, rates will only be between 75 and 100 basis points at year's end -- still extremely low, but reflective of at least some confidence in the U.S. economy," said Paul Eitelman, investment strategist at Russell Investments. "In any event, we're back on Fed watch; realizing any FOMC decision to raise or not raise rates this year will continue to have an impact on global markets."

Crude oil recovered from lows on Wednesday, though still closed out its fifth straight losing session, after a decline in U.S. inventories over the past week. Crude inventories fell by 900,000 barrels, according to the Energy Information Administration. However, the decline wasn't as steep as an expected drop of 2.7 million.

West Texas Intermediate crude oil fell 1% to $48.01 a barrel by its close on Wednesday. Oil had fallen below $48 earlier in the session.

Industrial production fell 0.4% in May after a revised 0.6% gain in April, according to the Federal Reserve. The decline was mainly due to a 4.2% drop in motor vehicle production. Weaker manufacturing sector activity dragged production lower.

Producer prices in the U.S. rose 0.4% in May, above estimates for a 0.3% increase. Core prices, excluding food and energy, fell 0.1%. Producer prices have risen 0.1% over the past 12 months.

Economic conditions in the New York region improved in June after a disappointing read in May. The Empire State index climbed to positive 6 in June from negative 9 in May.

Best Buy (BBY - Get Report) climbed despite being downgraded to neutral by Credit Suisse. Analysts pointed to worries over slowing sales in the second half of 2016. The firm cut its price target to $31 from $36.50.

Whole Foods Market (WFM) continued its decline on Wednesday, a day after the Food and Drug Administration found "serious violations" at its Massachusetts plant. Regulators found issues with the company's packing and handling of food. Shares have fallen more than 7% over the past two days.

Aegerion Pharmaceuticals (AEGR) spiked after agreeing to merge with fellow biotech company QLT (QLTI) . Each Aegerion share will be exchanged for 1.0256 QLT shares. The merger is expected to be completed by at least the end of the third quarter and the merged company will be called Novelion Therapeutics.