Taken from the wiki page on the tragedy itself - "Through inept navigation by her captain, Hugues Duroy de Chaumareys, who had been given command after the Bourbon Restoration for political reasons and even though he had hardly sailed in 20 years, Méduse struck the Bank of Arguin off the coast of present-day Mauritania and became a total loss.

Most of the 400 passengers on board evacuated, with 146 men and 1 woman forced to take refuge on an improvised raft towed by the frigate’s launches. The towing proved impractical, however, and the boats soon abandoned the raft and its passengers in the open ocean. Without any means of navigating to shore, the situation aboard the raft rapidly turned disastrous. Dozens were washed into the sea by a storm, while others, drunk from wine, rebelled and were killed by officers. When supplies ran low, several of the injured were thrown into the sea, and some of the survivors resorted to the Custom of the Sea, engaging in cannibalism. After 13 days at sea, the raft was discovered with only 15 people still alive.

News of the tragedy stirred considerable public emotion, making Méduse one of the most infamous shipwrecks of the Age of Sail. Two survivors, a surgeon and an officer, wrote a widely read book about the incident, and the episode was immortalised when Théodore Géricault painted The Raft of the Medusa, which became a notable artwork of French Romanticism."