What does "forfend" mean?

Forfend: To prohibit; to forbid; to avert. [Archaic] Which peril heaven forefend! Shak. Note: This is etymologically the preferable spelling.

Sources