If you have a seacock for overboard discharge, then presumably you should have a macerator. Did you remove the macerator? But, yes, some means of disabling the possibility of discharge is the law. Zip tying the handle also suffices.
I'm guessing the OP must be at the upper end of the bay if...