While I was recording, my computer died. this is my first time using audacity, so I don’t know much. is there any way to get my file back?
Do you know why the machine died? This can be a valuable learning experience only if you learned something.
As a rule, having a capture crash without a formal closing is the kiss of death. You no longer have a recording, you have digital trash.
You should, after you fix the reason the machine crashed, shut down and start fresh.