Looking at the code, the conditions under which a user can hide or unhide a discussion is:
The discussion was created by the user
AND the number of participants is 1 (nobody else but the OP replied)
AND the discussion is either not hidden or was hidden by the user themselves
AND the user has permission to reply
If any of those conditions fail, the user shouldn't be able to delete or un-delete the discussion.