Answer
Yes, Hooker was arrested for botany research. In 1831, while on an expedition to the Himalayas, he was detained by the Nepalese army, who mistook his plant-collecting activities for espionage. Hooker was held for several months before being released, and he later recounted his experiences in his book "Himalayan Journals."