Fisher-Price recalled all of its 4.7 million Rock ’n Play sleepers on Friday, days after a group of pediatricians urged its parent company, Mattel, to stop selling the product amid reports linking it to multiple infant deaths.

The Consumer Product Safety Commission said consumers should stop using the sleeper immediately and contact Fisher-Price for a refund or a voucher. Major retailers sell the product for $40 to $149, according to the agency.

The voluntary move by Fisher-Price was a reversal for the company, which issued a joint safety warning with the product safety commission last week after the commission said it was aware of 10 deaths since 2015 of children 3 months or older linked to the sleeper. In most cases, the children suffocated after rolling over in the sleeper from their back to their stomach or side while unrestrained.

[Some day cares used dangerous infant sleeper after it was recalled.]

Mattel said in a statement on Friday that it stood by the safety of its products but agreed to the voluntary recall “due to reported incidents in which the product was used contrary to the safety warnings and instructions.”