To remove a unit from the stack, disconnect the cables from the stacking ports. This can be done whether the units are powered on or powered off. When you remove a unit that is powered on, it is still in stacking-enabled mode. To remove the stacking files, enter thestack unconfigure meorstack unconfigure cleancommand.
Thestack unconfigure mecommand returns a unit to the state it had before joining a stack and recovers its startup configuration. Thestack unconfigure cleancommand removes the unit's startup configuration. When you issue either command, the unit operates as a standalone unit once it reboots.
When a unit is removed from a stack, the active controller deletes the unit configuration if it has been dynamically learned.