Elegoo Nano stuck on uploading in arduino ide

No you didn't, if Arduino15 was deleted then you have NO Arduino environment.
Moreover, although I stopped using Windows almost 10 years ago, I am sure that system32 is a major part of the Windows system.