As Hurricane Matthew headed toward Cuba, military families were being evacuated Sunday from Guantanamo Bay to Pensacola Naval Air Station as C-12 aircraft stationed on the island were being relocated to Jacksonville to shelter, U.S. Navy officials said.

About 700 spouses and children from Guantanamo Bay Naval Air Station were being flown in military cargo planes to Pensacola and will remain at that naval base until it is safe to return, according to a statement issued by the commander of Navy Region Southeast.

Pensacola NAS has quarters to house the families. Fleet and Family Service Center counselors will be available to assist them. The remaining military and civilian personnel at Guantanamo will shelter in place, according to the statement.

Meanwhile, the Navy’s small C-12 aircraft were being flown from Guantanamo to Jacksonville, the Miami Herald newspaper reported.