Is all of Kodi frozen? Hitting the stop button (or X on the keyboard) doesn’t stop the video to retry?
Or, is the whole computer/device frozen so that it requires a full reboot? If that’s the case, then you have an issue outside of Kodi.