He might also try to find allies among the Avengers. Maybe he has a good relationship with some members like Iron Man or Captain America in this fanfiction. So he would try to reach out to them privately to clear things up and stop the whole capture attempt.
Spider - Man would probably be very confused at first. He looks up to the Avengers and would wonder why they are after him. He might try to talk to them and explain that there has been a mistake.
One reason could be a misunderstanding. Maybe some events were misinterpreted, and the Avengers thought Spider - Man was involved in something bad. For example, if there were some crimes that seemed to have Spider - Man's fingerprints all over them, but in reality, he was being framed.
Spider - Man would be very confused. He would feel betrayed because he thought the Avengers were heroes he could trust. He could start by asking them why they are doing this. If they don't give him a satisfactory answer, he might try to escape in a sneaky way, using his spider - like abilities to find a weakness in their capture setup while still trying to reason with them.
Spider - Man could use his agility and web - slinging skills to escape. He could swing between buildings, making it difficult for the Avengers to follow him. His small size compared to some of the Avengers also gives him an advantage in hiding in tight spaces.
He would probably try to avoid them at first. Spider - Man is used to being on his own and fighting his own battles. He might use his agility and web - slinging skills to escape from the Avengers.
One possible reason could be a misunderstanding. Maybe the Avengers think Spider - Man has been compromised by some sort of enemy influence. For example, if a powerful villain has the ability to control minds and they suspect Spider - Man is under that control, they would try to capture him to protect the world and also to try and break the control. Another reason might be that they believe Spider - Man has some information that is crucial for saving the world but he's being uncooperative, so they resort to capturing him. It could also be that there's some sort of new law or regulation in the superhero world that Spider - Man is unknowingly breaking, and the Avengers, as the enforcers of a sort of superhero code, feel they need to bring him in.
One reason could be that they suspect him of being involved with a new villain's scheme without having all the facts. So they act preemptively and capture him.
Another possibility is that the Avengers are being manipulated by a villain. The bad guy could be using false information to make the Avengers believe that Spider - Man is a danger. So they go after him without really knowing the truth.
One possibility could be that the Avengers capture Spider - Man because they suspect he has been influenced by some sort of mind - control or dark magic. Maybe they think he's a threat to the city without realizing he's actually trying to help. Another could be that there's a misunderstanding in which Spider - Man's actions are misinterpreted as being against the Avengers' interests.
Spider - Man would probably be defensive at first. He's used to working alone most of the time, and being interrogated by the Avengers would seem unfair to him. He might crack some jokes to ease the tension, but also firmly state that he's a hero too.
Spider - Man would likely be confused at first. He respects the Avengers and can't understand why they are suddenly after him. He might try to talk to them, to explain that he's innocent. For example, he could swing up to Captain America and start pleading his case.