The alleged offender was found hiding at a nearby property.
Police said the tight space he was in made it very difficult for officers to detain or communicate with the man. Officers spent some time talking to him and he was able to be taken into custody without any use of force.
The 21-year-old victim was in a serious but stable condition in Wellington Hospital.