Star linebacker Reuben Foster was listed as questionable for Sunday's game due to a hamstring injury. He was not expected to play, Shanahan said.
On Monday morning, Foster will no longer be a member of the 49ers. He was arrested on Saturday night at the team's hotel in Tampa, Florida on suspicion of domestic violence. It was his second such incident since February 11.
49ers players woke up to the news of the arrest and the announcement that the team will be releasing Foster.
"I definitely addressed the elephant in the room when I saw them," Shanahan told reporters after the game.
The head coach said the decision to part ways with the former first-round pick, the second overall selection of the Shanahan and John Lynch era, was made almost immediately after news of the incident reached them.
"I knew what we had told Reuben, and he didn't do what we had asked him to do," Shanahan continued. "As soon as he did that, I knew the decision that was going to be made. It was just (a matter of) when.
"[The incident] happened last night around our team meeting and stuff, so none of the players knew about it. Just John and I. We talked to the owners and slept on it. They talked about it a little bit later because I had to get ready for this game. Then we did it in the morning."
While Shanahan didn't want to elaborate on the reasoning behind the prompt decision to release Foster, he said it wasn't because the team felt the second-year player was guilty of the accusation.
"This was based off other stuff," Shanahan explained. "I don't know whether that is right or wrong. We'll see what happens in the court of law. I wasn't there, but too many things have happened.
"We tried to help him out a lot. I know he has been trying too, but this was a mess up that it doesn't matter whether he did or not. It's time to move on."
Shanahan went on to explain that Foster continued to struggle to make good decisions.
"He's gotten better in that way, but it's been too much," he added. "We care about Reuben, but no one's more important than this team. The number one rule is that you've got to protect the team, and he's put us in a bad light too much."
More San Francisco 49ers News
-
49ers QB Brock Purdy shuts down reporter's question about Kyle Shanahan's play calling
San Francisco 49ers quarterback Brock Purdy, hot off earning NFC Offensive Player of the Week honors, cracked a smile during Wednesday's media availability, clearly amused by a specific line of questioning. After recounting the communication issue against the Indianapolis... -
Kyle Shanahan previews 49ers-Seahawks Week 18 matchup
San Francisco 49ers head coach Kyle Shanahan addressed reporters ahead of Tuesday's practice as the team gears up for its Week 18 matchup against the Seattle Seahawks. Here's everything he said. Transcript provided by the San Francisco 49ers Communications staff. Opening... -
49ers' Kyle Shanahan surges in Coach of the Year race after late-season success
San Francisco 49ers head coach Kyle Shanahan continues to draw praise after Sunday night's win over the Chicago Bears, a victory that set up a high-stakes Week 18 matchup against the Seattle Seahawks. On the line: the NFC West title, the NFC's No. 1 seed, and home-field... -
49ers' Kyle Shanahan reveals expectations for Brock Purdy in Week 18 showdown vs. Seahawks
The San Francisco 49ers have a lot at stake in Saturday night's regular-season finale against the Seattle Seahawks at Levi's Stadium. The winner will claim the NFC West title and secure the No. 1 seed in the NFC playoffs, which includes home-field advantage throughout the...