I wrote an answer to a question. After sometime, the question was deleted by the user himself and as a result my answer also got deleted.
After researching about deleted answers, I came to know that the answer ban algorithm will keep track of users whose answers get deleted (either by himself or by some others who found it wrong) and the system internally leaves a black mark on the one who wrote the answer and if the same user's answers keep getting deleted, then he will eventually get banned from answering questions.
However, in my case no one deleted my answer directly.
Does the system consider my answer as "deleted by someone" and has the chance of me getting an answer ban increased? If not then why is there an option to undelete my answer exists?