I have done some testing with the OAK-D, using this example, which opens a file using Python's builtin
open function. I tried hittting
Ctrl + C and simultaneously unplugging the device, and unplugging the device while the code was running. The .h265 video file was playable in both cases.