Arduino fingerprint sensor turning computer on/off
The computer turns off because the end R1 is then floating, and thus the base of your transistor is floating.  I suggest pulling pin 4 HIGH with a resistor