Indonesian rescuers worked on Thursday to save a pod of beached whales that got trapped in a mangrove swamp at low tide, fisheries officials said.