It was illegal in all but name because of a series of court decisions interpreting the state constitution as banning it. Legislators just never bothered to pass a formal law. By 1790 there was not a single slave in Massachusetts. Maryland technically sided with the Union but it was basically a southern state…