whim

noun

A sudden or capricious idea; a fancy.

Arbitrary thought or impulse.

A vertical horse-powered drum used as a hoist in a mine.

6. A pun.

To turn round; be seized with a whim: also with an indefinite it.