(CNBC) U.S. stocks closed lower Thursday as technology stocks declined amid a rise in global bond yields.
Oil prices settled 0.9 percent higher at $45.52 a barrel after earlier rising more than 2 percent. The U.S. Energy Information Administration reported U.S. commercial crude inventories fell by a more-than-expected 6.3 million barrels in the week through June 30.
Energy ended 1.8 percent lower as the second-worst performer in the S&P 500.