As I understand it, something like that happened with the game, Alliance. It was a RTS where humans had to control all the units that the commander build and ordered around.
I learned about this, probably 15 years ago, and I never played, so a lot of this might be outdated or just plain wrong.
I think Microsoft published the game, and eventually abandoned it. It still had a thriving mod community but they were struggling due to the lack of source code and support. Apparently, years after working on the game, one of the designers happened across an Internet forum talking about the struggles they were having. The designer then went back to his bosses and said, "We abandoned this years ago, can I just give them the source code?" I guess they did and since then the mod started making HUGE fundamental changes to the game.