This article describes the steps to remove a member from a Virtual Chassis.
We first isolate the corresponding member by removing the cables, and then we run the following steps:
After a few seconds or minutes (this varies from platform to platform), the switch should be back as Master 0 as expected.
You may also refer the following documentationhttps://www.juniper.net/documentation/us/en/software/junos/virtual-chassis-qfx/Other/virtual-chassis-ex4200-member-replacing-cli.html