How to shut down an iPad stuck on the Apple logo? Having an iPad stuck on the Apple logo, I cannot find a way to shut it down.

When holding down both the top "Power" button and the "Home" buttons, the iPad goes to black screen, but starts again even if I released the buttons when the screen went black. 

So, the iPad always comes back to the state showing the back Apple logo on a white screen.



Edit 1:

Thank you for both answers until now.


Holding only the power button down doesn't work in with this buggy iPad.
Holding both the power and the home buttons down reboots the iPad; even if I release one or both buttons a fraction of a second after screen turns black, the screen always turns on in the next seconds
Disconnect the iPad from the power supply if it's charging. Hold the power button and the home button at the same time until the screen gets black (takes about 3-5 seconds). Then release immediately. iPad should be turned off. If it's turning is back on again then either you were too slow releasing the buttons or something else is causing iPad to reboot.

In this case, the easiest way is to let it run out of battery. 

Other options:
If you would like to fix the error, then connect iPad to iTunes and hold the power button and the home button until you see the iTunes logo. Then follow the instructions on iTunes.