What does "closehauled" mean?

Closehauled: Under way and moving as nearly as possible toward the direction from which the wind blows; -- said of a sailing vessel.

Sources