You need to clarify a few points: when you will withdraw the pension funds and where you will be tax resident at that point.
If you withdraw while you are tax resident in Switzerland, you will pay Swiss taxes on it. The taxation method actually varies by canton and depending on the amount, it can vary in terms of which canton is more advantageous - see my thread here:
It could also be beneficial to stagger your withdrawals if you are able to e.g. take out some amount one year (e.g. to become self-employed) and then the rest when you leave.
The other scenario is where you withdraw the pension fund when you have already left Switzerland and are resident in another country. In which case, Switzerland will levy a withholding tax on the pension capital (this is the one that could be beneficial to have the pension capital in Schwyz).
However, in this scenario, you need to watch out about the new resident countries. Some countries such as Singapore will not tax you on the pension capital. Others, such as Spain will take 50% of your capital as tax.