whim
A sudden wish or change of mind with no real reason behind it.
Tell
sudden, reasonless, soon gone
Best when
You mean a sudden, unplanned wish or choice and don't need to say whether it's a want, a mood or someone's arbitrary will.
Example
“On a whim, they drove to the coast.”