As daylight gave way to darkness on Ujung Kareung beach, the rescuers didn’t give up. As of about midnight local time they were still working, Whale Stranding Indonesia told The New York Times via a Facebook message.

Earlier in the day, the rescuers successfully relocated five of the whales to deeper water, Nur Mahdi, the head of the Aceh Province marine and fisheries office in Sumatra, told The Associated Press. They are also treating two injured whales and attempting to refloat the others, he said.

“The team seems to be determined to work during night time to release the remaining whales,” Whale Stranding Indonesia reported.

Two more whales were released just before sunrise, the group said, according to an official from the Center for Coastal and Marine Resources Management, the regional marine and fisheries authority in Indonesia.