caprice

ca-price

noun

A sudden, unpredictable change in mood, behaviour, or opinion, often without reason.

"Her sudden caprice led to an unexpected trip."

Thesaurus

Synonyms: impulse, whim