Reuben Foster short on details regarding attempted armed robbery of him, Ray-Ray Armstrong

SANTA CLARA — The 49ers’ best linebackers were able to dodge tragedy Sunday.

After returning home from Washington, Ray-Ray Armstrong and Reuben Foster went out in The City, eventually landing at Love and Propaganda nightclub — as first reported by Mission Local.

According to the police’s account, the Niners defenders noticed a white Audi circling acting suspiciously. Foster gave his jewelry to a friend and requested security to escort him, Armstrong and a friend to his car.

As they left, a group of masked men attempted to rob them by threatening them with an assault rifle and a handgun. Foster and Armstrong bolted the scene and eventually called police from the St. Francis Hotel.

On Wednesday, Foster didn’t have much to add to that account.

“Just always remember your surroundings and just know that whatever you want and what you work for, just know somebody else want and they working too,” he said.

He said the event was “completely random” and that he apologizes for the people he may have caused to be concerned.

The linebackers were backed up by their coach earlier in the day.

“Sounded pretty dangerous, something pretty scary, a situation I haven’t been in like that before,” Kyle Shanahan said. “I know they were pretty shook up from it and worried. I’m just really glad they’re alright.”

The first-year head coach expanded to say it isn’t fair to judge the players for being out when they were.

“Sunday night, for 90-percent of this league or whatever it is, that’s a players’ Friday night,” Shanahan said. “… I also want to keep perspective that when guys do decide to have a night out and they don’t have a big thing the next day, I want them to handle themselves right, protect our team. But, I’m not going to get mad at a guy for putting in the work all week, those guys grinding, and then deciding to go out and do what most people do at their age at that time.”

Foster and Armstrong were limited participants in practice on Wednesday.

The rookie linebacker is looking to return to the field for the first time since Week 1, when he suffered a high ankle sprain. Shanahan said he expects Foster to play on Sunday against the Dallas Cowboys.

jpalmer@sfexaminer.com

Niners face tough road through NFL playoffs. Next stop Green Bay

Kickoff temperature expected to be 13 degrees, and dropping fast

Draymond Green’s injury opens for Warriors’ Jonathan Kuminga

Rookie showing flashes of brilliance, with room to improve

Deep in the heart of Texas: Niners corral Cowboys, 23-17

San Francisco holds off late charge. Packers up next