Is there a name for when production is stopped intentionally in order to allow the factory to perform repairs and maintenance?
In Australian usage the term planned outage is common.
See, for example, this page by Ergon Energy, where they publish a list of upcoming planned outages for the electricity distribution network.
In order to keep the network functioning and carry out necessary maintenance and upgrades, sometimes we need to interrupt the supply of power. However, our aim is to minimise the impact of any outage that may affect you.
Except in emergencies, if an upgrade or maintenance to the network requires us to interrupt supply, we will notify you at least two business days before the planned outage.
The date and the estimated start and finish times of the planned outage will be sent to you by mail, letterbox drop, newspaper or radio advertisement, email, phone, fax, or flyer.
Informally, this is often shortened to the single word outage.
You'll need to arrange an outage before you can repair that machine.