The Giants filed a protest and were upheld, so they had to pick up the game from that point.
I’d say the Cubs’ management forfeited the game. But it’s the MLB, in Chicago...