You can withdraw it immediately. You should already have had a visit from Immigration whilst your application was under consideration. If it's for the initial non imm O visa you'll need to leave it in the bank for 2 months in order to get the 1 year extention of stay