is there a penalty for withdrawing from resp?
If you are eligible to withdraw the earnings, you'll also have to pay taxes plus a penalty of 20% unless they are transferred to an RRSP OR RDSP, if there is room for contributions there.