Shares of Hewlett Packard Enterprise plunged more than 6 percent in early trading Wednesday after chief executive officer Meg Whitman’s decision to step down from the role took investors by surprise.

Whitman, one the most high-profile executives in the United States, said Tuesday she would quit as CEO in February and hand over the reins to company veteran Antonio Neri.

After reports surfaced that she was being considered for the top job at Uber, Whitman reinforced her dedication to the role in July by saying that she was fully committed to HPE and planned to remain CEO.

“We have a lot of work still to do at HPE and I am not going anywhere. Uber’s CEO will not be Meg Whitman,” she had tweeted.

HPE shares recently changed hands at $13.22, down 6.4 percent.

HPE is in the middle of a restructuring to cut costs, invest in research and focus on high-margin businesses. Its mainstay server business has been struggling as customers increasingly buy non-branded, assembled servers that are much cheaper.

“We are surprised by the timing of the CEO transition given commentary at the recent analyst day that seemed to imply a CEO transition was not in the offing,” BMO Capital Markets analyst Tim Long said in a research note.

Long, however, added that Neri’s experience running the company’s Enterprise Group made him a strong fit for the CEO role.

The restructuring, which was announced last month and called HPE Next, was supposed to be led by Neri — a computer engineer who has spent more than two decades with the company and is HPE’s current president.

Neri’s appointment is not a surprise given his increased visibility in recent months, Morgan Stanley analyst Katy Huberty wrote in a research note.

Neri began his career in HP as a customer service engineer in the EMEA call center. He previously led HP’s technology services business and then its server and networking businesses, before taking over the whole Enterprise Group in 2015.

Barclays analyst Mark Moskowitz and Morgan Stanley’s Huberty expect Neri to shift gears and aggressively develop technology in-house, rather than focus on mergers.

Since its split from Hewlett-Packard in late 2105, HPE has spent billions buying companies providing cloud software and data storage to better position itself to serve customers who are moving their operations to the cloud.

HPE’s shares have risen 5 percent this year, compared with a 16 percent gain in the S&P 500 index.