The vote to not secede was taken 5 months before the legislators were arrested.
They were going to take another vote in light of Lincoln's demand from each state that it provide troops to attack other states which no longer consented to being ruled by Washington DC.