Enter the bios and see if the HDD is detected there. Being without power for a long time wont do anything to the sata driver in the OS. The bios would have lost its settings and went back to default so you may need to change the sata operation from AHCI to IDE if the OS didnt have the AHCI drivers installed.