For what it's worth, this mostly doesn't actually happen. There is some good science behind maintaining ketosis in children under careful monitoring by a physician. Most of the empirical evidence in adults is that it's hard to achieve and harder to maintain. The weight loss some people achieve on "keto" diets is mostly just due to caloric restriction when it's been measured carefully.
The upside is you don't really want to have your body in ketosis anyway.