BlackBerry batteries are not easy to get out. Here’s a very simple way to reboot without having to go to the trouble.
Press ALT+shiftCAP+delete to reboot your stuck BlackBerry.Ad
As soon as the screen comes back up, press ALT+CAP+delete again.
Check it is functioning. If it comes back to life, you don’t need to remove the batteries.