The purpose of a quarantine is not to displace people but to keep them where they are!
Here is an example of a quarantine in detail—Gunnison, Colorado—1918-1920:
https://www.gunnisontimes.com/content/gunnison-and-great-influenza-0
You mentioned China. China did a little bit more than "keep them where they are".
Purpose of quarantine is to slow the spread so medical establishment can keep up with the avalanche of care that WILL BE needed