Can you press: cntl+F3, or some other F key with the cntrl key to get to a console? If you can get to a console you can run: /sbin/poweroff, or, shutdown -h now, to try and close the machine down. If however, there's an incomplete installation on the machine, it may not work, so perhaps disconnect the battery.