New Cisco 2960 switch added to Stack, how to remove ?

Hi, I have a new cisco switch that I want to add a very basic config to, all it needs is for vlan1 to have an ip address, subnet mask and default gateway along with descriptions against couple of interfaces.
The interfaces are showing as interface GigabitEthernet1/0/24 which suggests stacking.
I have rebooted the switch and run flash_init, del flash:config.text successfully and rebooted.
On boot up it shows the text below (switch 1 has been ADDED to the stack).
The switch at the moment is purely connected via the console port.
How can I configure the switch so that it doesn't belong to a Stack (baby steps please)
kind regards

Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 28    WS-C2960X-24TS-L   15.0(2a)EX5           C2960X-UNIVERSALK9-M

Sep 15 09:43:00.467: %STACKMGR-4-SWITCH_ADDED: Switch 1 has been ADDED to the st
Sep 15 09:43:01.984: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, chan
ged state to down
Sep 15 09:43:01.984: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEtherne
t0, changed state to down
Sep 15 09:43:03.581: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type
Sep 15 09:43:25.622: %STACKMGR-5-SWITCH_READY: Switch 1 is READY
Sep 15 09:43:25.622: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 1 has ch
anged to state DOWN
Sep 15 09:43:25.622: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 2 Switch 1 has ch
anged to state DOWN
Sep 15 09:43:25.923: %STACKMGR-5-MASTER_READY: Master Switch 1 is READY
Sep 15 09:43:25.930: %SYS-5-RESTART: System restarted --
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2a)EX5,
Technical Support:
Copyright (c) 1986-2015 by Cisco Systems, Inc.
Compiled Mon 16-Feb-15 08:16 by prod_rel_team
Sep 15 09:43:26.902: %USB_CONSOLE-6-MEDIA_RJ45: Console media-type is RJ45.
Sep 15 09:43:27.922: %LINK-3-UPDOWN: Interface FastEthernet0, changed state to d
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Complete these steps in order to remove a switch:

1 - Power off the new stack member to be removed.      
2 - Remove the StackWise cable from the switch.  
3 - Issue the command no switch stack-member-number provision command.
Rick_PenneyAuthor Commented:
Hi, many thanks for your reply,
There is no StackWise cable plugged into the switch.
The only cable plugged into the switch is the console cable.
None of our other switches on our LAN are stacked.
So you can just type - no switch stack-member-number provision
Should look like this for example- "no switch 1 provision"
Defend Against the Q2 Top Security Threats

Were you aware that overall malware worldwide was down a surprising 42% from Q1'18? Every quarter, the WatchGuard Threat Lab releases an Internet Security Report that analyzes the top threat trends impacting companies worldwide. Learn more by viewing our on-demand webinar today!

Rick_PenneyAuthor Commented:
Your initial post said to switch off the switch in question that needs to be removed.
I guess this is if you have a stack master on the network and you issue the command on that switch, which I don't.

I have tried to issue the command on the switch that I am consoled into but I get the following response.

Switch(config)#no switch 1 provision
%Switch can not be un-provisioned when it is physically present

kind regards
I see now!
It is already done.
The fact that you have your interface named with extra number in the front (GigabitEthernet1/0/24) is unchangeable.
It is always will be there. You can change it to the different number, but you can't get rid of it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rick_PenneyAuthor Commented:
Many thanks for your time and patience with this, its much appreciated.
The only reason I questioned it is because I had already installed two identical switches on other LANS and both have the interfaces as GigabitEthernet0/24.
kind regards, Rick
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.