In my past experience, the unapplied cash will return to the buyer almost immediately (3 working days at the most) after the shares are allocated.