The 29-year-old, the youngest entrant in the Golden Globe race, had waited two days for the Hong Kong-registered Tian Fu to arrive after sending a distress signal from 2,000 nautical miles west of Cape Horn.
The signal was picked up by Falmouth Coastguard in southwest England, with the alert passed on to race control and the Chilean maritime search and rescue authorities.
"ON THE SHIP!!!," she said on her Twitter feed after the rescue.
'Bad thoughts drive me on' - Team GB sailor McIntyre
Race organisers had earlier reported plans to lift the sailor from the deck of her yacht DHL Starlight using one of the cranes on the 38,000 tonne ship, which was heading to Argentina from China when diverted.
They said conditions had moderated, with three- to four-metre swells.
Goodall, who was in fourth place at the time of the incident, had been knocked out when the boat rolled end over end in the dismasting.
The Golden Globe was marking the 50th anniversary of the race, won in 1969 by Britain's Robin Knox-Johnston who became the first person to sail solo non-stop around the world.
Refreshed Scott back on Finn duty at European Championships
Bouwmeester wins gold in women's laser radial in 2016