What is the violent shaking or flapping of anything hanging loose in the wind, as of a sail, when being hauled down called?

slatting — The violent shaking or flapping of anything hanging loose in the wind, as of a sail, when being hauled down. (Webster's 1913.)

Sources