Rape accused arrested after encounter with police