Flickering stop button while recording

I was recording a 50 minutes long audio, when suddenly the program went all black. When the screen returned to normal, the stop button kept flickering and won’t let me stop de recording. Thus, I can’t save the recording. My audacity version is 2.3.3. I need help to stop the recording or to know a way of recovering the recording if I close the window without saving.