Actually, Presdient Lincoln had troops surround the Maryand legislature, ready to arrest anyone who voted to secede. The Confederate sympathizers backed down, and no one was arrested. Lincoln did arrest, I think, several Maryland state legislators on other occasions, but for specific pro-rebels acts.
President George W. Bush would have done the same.