Here are a few steps to investigate further :
- check that your h4n firmware is up to date
- check that the SD card you are using for recording is supported (here's an example for h4n pro).
- try to reformat the SD card as your attempt to cut power while recording might have leave either a file or the filesystem in a corrupted state.
- as @aj-henderson suggested, check that your card functions in another device.