I actually gained 10 pounds on a low-carb diet. I come from a family with a bad family culture around food. My father was my height (5'10") and at times over 350 pounds. There were other problems with my family food culture. I have my own personal issues. My birth weight was 10.5 pounds. And my own peak weight was 185 pounds. I was plant-based for 30 years. However, during most of that time, I ate A LOT of plant carb sources, like grains, carrots, and juices.
Based on that background, I developed a "license to eat" over the past 6-12 months. After a couple of years of 6/1 intermittent fasting, and adding low carb, then Mimicked Fasting - I struggled to keep my weight up to 150 pounds. After having a couple of hypoglycemic episodes, I relaxed several of my food limits. I added some things I've never eaten before, like garnishes with cheese and even bacon. I porked up quickly. Then after gaining 10 pounds, I confirmed what I'd suspected for years: I have atrial fib.
As we get older, it's hard maintaining low blood sugars and balancing that against hypoglycemic episodes. One way to do that is by stopping meds, like Metformin. I have stopped metformin when I go through caloric restriction episodes now. They told me to do that. I ignored it at my own peril.
I also go through a few rules for eating out at restaurants, like 1. limit myself to salads, salmon, and egg white omelets; and 2. there are A LOT of foods served by restaurants that you just can't eat.