GoPro Inc.’s recall of its first drone caps a string of snafus that have knocked the action-camera maker from its pedestal of Silicon Valley hardware darling.

On Tuesday, GoPro issued the recall and pulled its new Karma drone from the market because a few of them lost power during flight. The company didn’t say what caused the power loss.

The grounding of GoPro’s drone ambitions follow production delays, missed deadlines, bungled launches and lower sales expectations in recent months.

“GoPro has done a lot of things to discourage their customer base,” said Charles Anderson, senior research analyst with Dougherty & Co. Mr. Anderson lowered his rating on GoPro’s shares to “sell” from “neutral” on Wednesday.

A spokesman for GoPro said it is optimistic about its prospects in 2017. “We’re hoping to have a good year with strong demand, strong marketing and sales execution, and a year with much lower operating expenses,” he said.