Rare account of notorious Civil War prison drew Kelly Agnew into an era of amateur botany in 19th century California that helped build the university’s extensive plant collections