To restore a task :
Go to the workspace containing the task (under the Task tab)
In the upper-right corner, click on Status
In the drop-down menu select Deleted
Click on the task to restore
From its details panel, click on the button with the three vertical points
Finally click on Restore task