If it's a reasonably modern computer, changes are that there is a setting in the BIOS for what to do when it loses power. Usually the options are "turn on", "stay off", and "go back to the state before the power failed".
_________________________
Bitt Faulk