Ryan Cohen, an activist investor, has left his position in Bed Bath & Beyond.

Cohen dumped his stock at a range of prices between $18.68 and $29.22 per share, according to the filing. The firm sold some of its options. Cohen stated in the filing that he intended to sell his holdings of the stock.

The stock lost more than 20% in Thursday's regular trading session as shares fell in extended trading.

Cohen bought more than 7 million shares and call options of Bed Bath & Beyond. The company added board members Cohen wanted and pushed the CEO out.

Cohen bought his shares of Bed Bath & Beyond at an average price.

Bed Bath & Beyond said in a statement on Wednesday that it had reached a "constructive agreement" with RCVentures in March and was looking into possible changes to its financial structure.

Bed Bath & Beyond's shares have rocketed higher this month in part due to a revival of the meme trading craze. In August, shares were up more than 200%.

The stock of Bed Bath & Beyond has become the most talked about stock on the Wall Street Bets page. The stock has high short interest, or bets that it will decline, which was one of the main qualities of stocks that soared during the meme stock craze of 2011.

Despite the company's struggles, retail investors are interested. Bed Bath & Beyond had a net loss of $358 million in the first quarter of this year. The company reported a negative operating cash flow.