Withdrawing the money from your pillar 3a account is free for almost all cases. Only if you withdraw money earlier for your proprietary, you will have to pay a fee of 300 CHF.