shutil.rmtree()删除的文件怎么复原

问题遇到的现象和发生背景 Hello,就是我用shutil.tmtree()删除桌面的某个文件夹,却把桌面全部的文件夹删除了,怎么把删除的文件夹复原?
问题相关代码,请勿粘贴截图

import shutil
import os
def deletedirs(path):
path=os.path.join(os.getcw())
if os.path.exists(path):
shutil.rmtree(path)
a=r'/users/cdd/desktop/temp'
deletedirs(a)

运行结果及报错内容
我的解答思路和尝试过的方法
我想要达到的结果