The solution has already been invented: its called Directive 10-289 (from “Atlas Shrugged”).
I imagine this part from Directive 10-289 is not far off...
“Point Two. All industrial, commercial, manufacturing and business establishments of any nature whatsoever shall henceforth remain in operation, and the owners of such establishments shall not quit nor leave nor retire, nor close, sell or transfer their business, under pentalty of the nationalization of their establishment and of any and all of their property.”