spike to switch modes on the fly (implies a real restart)