If you close a realm, all players who are currently in that realm will be kicked out and the realm will be closed permanently.