RaspberryPi card doesn’t have no default turn off button.
You can’t just disconnect it from power supply – it may cause problems with SD card.
Firstly you should execute command:
sudo shutdown -h now

How to safety turn off Raspberry Pi?

How to check address IP of newly connected Raspberry Pi?
In this post i will show you how to check IP address of your raspberry after you connect it to network.
Read More
How to install OS on Raspberry Pi without keyboard and screen?
What is needed?
8GB microSD recommended
Raspberry Pi device
Network cable for router connection