Cash balances for DRIP can only be applied to subsequent DRIP purchases, and cash balances for Scrip can only be applied to the allotment of new shares received via a SCRIP.
If you leave the DRIP, any remaining cash balance will be paid to you in accordance with the T&C’s.