To restore a task :
Go to the workspace containing the task (or to your personal space)
Select Deleted Tasks
Click on the task to restore
From its details panel, click on the button with the three vertical points
Finally click on Restore
You can restore a mistakenly deleted task with just a few clicks.