You don't say whether it's a dealer or not. Of course you can change your mind, but the whole point of a deposit, whether dealer or private, is that by paying a deposit, you effectively stop others from getting it, and whether you get your deposit back is at their discretion.