Email inbox ISSUE

I connect my mail server to zammad
and all of my inbox moved to zammad and deleted from my mailbox how can i tern it back

PS: I deleted the connection for the mail server on zammad (put i can reconnect it if this will solve the issue).

TL;DR: You can’t. Unless you have a backup of your mailbox.
The documentation clearly warns about this.

Even the email dialogue clearly warns you if you have many mails in the mailbox.