Labor government ‘shut down’ farming sector with the ‘stroke of a pen’