I just got a Raspberry Pi 4 yesterday for the purpose of running a python script, it came with a brand new SD card, and the proper power cord. I had it all up and running through the NOOBS OS download, and I had my script running successfully. After running for a while, a family member needed to use the outlet it was plugged into and mistakenly unplugged it from the power source without shutting it down properly. When I plugged it back in, it had troubles booting. I tried formatting the SD card and re-downloading the NOOBS OS, it still doesn't work. Sometimes it will boot initially, and the won't boot after the OS install. Sometimes it will boot initially, boot again after the OS install, and fail to boot after the software update it asks for.
Also, when I put the SD card back into my Windows computer to format it, the name of it is "RECOVERY" and the partitions appear in multiple drives. I'm not sure if this is contributing to the issue.
Could the power cut have damaged any hardware of the Pi / SD card? Any ideas for a fix?