Besides blowing up every bridge, every mountain pass, every rail line, every road, making the country worthless, Switzerland also had a policy of no surrender.
Most/all of the countries that Hitler took surrendered after a show of force. Swiss law prevented that. Unlike other countries, Hitler could not win 1 huge battle, or make a bloody invasion and expect the survivors to surrender.
According to what i read , Target Switzerland, Stephen P. Halbrook(?), that, at that time in the 1930’s/40’s, according to Swiss law, nobody in Switzerland, not the president, not the generals, nobody, had the power to surrender, and therefore, the Swiss would/ had to theoretically fight until literally the very last Swiss man and the very last Swiss woman. It would be a very long drawn all out guerilla fight lasting almost forever, lasting until every Swiss citizen was dead, and to win what?: virtually nothing.
War isnt much fun, it isnt very short, and it isnt very profitable, if the other guy will NEVER surrender.
Besides nearly everyone in Switzerland was armed. There was a rumor that at some conference, a german general made a nasty “what if” to a swiss general, and asked:
“what if we invade your country tomorrow with 100,000 german troops?” The swiss (who had 50,000 men in his command) answered: “we will shoot twice and go home”.