I don't think there's a law against a 51% attack, but a trading firm could still just say they're not allowing short positions to be closed because fuck the law
They'd only let you do it if they're in on it, which they would be because they love dollars lol