I currently have my Raspberry Pi set up such that it's connected to this assembled Adafruit PiTFT - 320x240 2.8" TFT+Touchscreen for Raspberry Pi. I am also powering the Raspberry Pi with a USB Battery pack which I also got from Adafruit.
I am having trouble shutting down the Raspberry Pi. When I run
sudo shutdown -h now it turns off but then immediately turns back on again.
Also, Adafruit sells tactile switches that you can attach, which will work as a power button. However, when I attached one of these tactile switches, it did the same thing. Turned it off briefly and then automatically turned the RPi back on.
How can I effectively turn off my Raspberry Pi?
sudo shutdown -h nowshould halt the Pi. Why do you think it is running? Does it continue to respond to keyboard etc. There are a few things which can cause a restart e.g. pulling pin 5 low. Do you have anything other than the 26 wire cable connected? NOTE you cannot power the Pi off without adding some additional hardware. I don't know if any such is included or suggested by Adafruit.