The U.S. Coast Guard said it rescued 12 people who abandoned a large cargo ship that ran aground near the U.S. Virgin Islands early Wednesday.

VIRGIN ISLANDS DEATHS: AMERICANS FACE CRIME, VIOLENCE AMID RISING CONCERNS OVER US TERRITORY'S POLICING

The agency is investigating whether the incident caused any contamination, noting that the vessel was carrying some 13,000 gallons of fuel and 250 gallons of lube oil. The ship, named Bonnie G, also was transporting six cars, a truck, a trailer and two pallets of cargo.

Coast Guard helicopter flying in Washington State

A Coast Guard MH-65 Dolphin helicopter crew from Air Station Port Angeles is seen flying in Washington State in January 2018. (U.S. Coast Guard photo by Chief Petty Officer David Mosley)

"There is still much work ahead of us," said Capt. José Díaz, commander of the Coast Guard Sector San Juan.

MYSTERIOUS US VIRGIN ISLANDS DEATH OF ALABAMA WOMAN, 22, UNEXPLAINED BY AUTOPSY: MEDICAL EXAMINER

Those aboard the 195-foot ship radioed for help after the engine room began taking on water before dawn. They abandoned ship using a lifeboat and two life rafts, the Coast Guard said.

CLICK HERE TO GET THE FOX NEWS APP

The incident occurred near St. Thomas as Tropical Storm Philippe dropped heavy rain and churned waters in the region.