QUITO—Ecuador has declared a 180-day state of emergency in the protected Galápagos Islands, while work continues to unload and refloat a freighter that ran aground last week.

The emergency status would free up resources to move the vessel.

On Jan. 28, the freighter Floreana, transporting about 1,400 tons of products, including food, construction...