How to fix macOS High Sierra Boot Failure on iMac Apple 21.5-inch Computer?
Have you tried using disk utility to delete all partitions and create a new one when installing? That might work, I bet there's an error on your disk, since it was probably was writing someting to it when you forced it to shut down, that's bad. It's ok to do that when reading data, not writing.

Alternatively, take the disk out (or tryt slave mode) and use paragon partition manager on some windows pc to check for errors. (paragon is not free)