The last component of the nervous system involved in the process of swatting the mosquito is the axons in motor neurons.
When the mosquito lands, sensory receptors (dendrites in sensory neurons) detect the stimulus, and signals are sent to the central nervous system through the axons of sensory neurons. After processing, motor neurons carry the response back to the muscles via their axons, resulting in the action of swatting. Thus, the axons of motor neurons are the last components involved in the motor response.