The Maryland legislature met and voted not to secede.
They didn’t have any choice.
Lincoln had garrisoned Baltimore with thousands of federal troops.
The legislature’s vote was meaningless.
After Lincoln arrested all the ones in favor of it.
This is like saying "Comrade Stalin won the election!"
Of course he did.