If you exit all the way out of Minicom, you can restart with [minicom -c on]

Plug switch in, wait for it to autoboot, then choose option 2 for Utility menu

Utility Menu for the switch:

Choose "Erase Current Configuration" or "Erase Permanent Storage" depending on how drastic you want to be. I chose the latter after which the switch is missing its stack code for operation, so is dead till reloaded.