Funds to CIO are refunded before processing of application starts at Visa office. Quoting from CIC website
"What if I have already applied and want to withdraw my application? Can I get my money back?
You can contact your local visa office and withdraw your application. Your fee will be...