it's actually very common to have a rebound gain of 10-20 lbs during year 3. There was a dietitian once on Unjury's online support group who said in her clinic, they don't even consider anything less that 15% of the person's lowest weight to be a regain (so in your case, they wouldn't consider anything under a 21.6 lb gain as "regain" - it's just more-or-less expected). Granted, you're up more than that, but only by about 10 lbs. You can always lose weight again by getting back on track. If it's really tough to do that (and it can be..), maybe just make one or two small changes at a time until they become a habit. Start with something not super challenging - like logging your food intake - or taking a walk 3x a week. Or whatever...just anything that seems achievable. It all adds up in the end...
A lot of people have dealt with this, so you're definitely not alone.