To save the harbor, seawater was pumped onto the advancing lava flows to cool and solidify them, slowing their advance. This innovative method, led by Professor Þorbjörn Sigurgeirsson, proved effective in preventing the lava from blocking the harbor.