nikon – Recovering a video file that was never closed properly?

The situation has happened a few times now. My Camera a Nikon d5600 will occasionally give me a message about the battery not being being a Nikon battery and shut down the power. (It is an OEM Nikon battery) and another time when I was plugged in with the camera and accidentally pulled the plug. Anyway power went off in the middle of shooting a time lapse and the file was lost.

So I have looked around at recovery software and it seems all the stuff I can find is for recovering deleted files. While there maybe something that works to recover a file that was not deleted but not saved properly, I cannot find it with the free stuff. I don’t mind paying for software but it is not clear if the software will work in my situation and I don’t want to put cash out for a none solution. If you have been able to recover a file in this kind of situation I would appreciate knowing the software you used. I hate to be picky about an answer but if you have not actually had and fixed this particular problem you might be mudding the solution with conjecture.