there is no recycle bin in Linux systems, so when you delete a file/folder its gone forever. if you accidentally delete cgi-bin directory. you can create a new folder with name cgi-bin again.
If you delete files/folders from FTP then they are lost permanently. If you delete them from cPanel FileManager, they should go to trash first and you can restore deleted files/folder from trash. Kailash