Batten Down the Hatches

What does the idiom “batten down the hatches” mean?

Definition: prepare for a storm

Example: It looks like the hurricane will be a strong one. Batten down the hatches!