Santa Clara County Sheriff's deputies on Wednesday arrested one suspect at a Starbucks and were searching for two more after a laptop burglary reported at Apple in Cupertino.
Sgt. James Jensen identified the man in custody as Richard Bejarano.
While two of his accomplices remained at large, Bejarano was arrested on suspicion of burglary and failing to yield to authorities after Apple security notified deputies about a getaway car leaving the corporate building at Bubb Road and Results Way in Cupertino about 4:30 a.m., which they later spotted on Highway 85.
The driver didn't stop and a chase led deputies to San Jose's Cambrian neighborhood, where the car became disabled at Camden Avenue and Lancaster Drive.
All three suspects fled on foot.
Sheriff Laurie Smith said the suspects' vehicle wasn't difficult to spot.
"[The deputy] saw computer cords hanging out of the truck," Smith said. "He stopped the vehicle, and when the vehicle stopped, the people ran."
Bejarano ran into the Starbucks on Hillsdale Avenue.
Barista Stacy Schildhauer told NBC Bay Area that she saw a man rush into the shop about 5 a.m. and attempt to use the bathroom. But he couldn't get in because there's a security code on the door. He asked her if she would open it, and repeated several times, "I need ice water. Can you please open the door for me."
Just then, deputies and a K-9 unit entered the cafe and asked him, "Where's your gun? Where are your friends?" Schildhauer recounted after her shift. The deputies tackled him and took him into custody, just before she was about to give him some water.
"You don't expect that at 5 in the morning," she said. "This has got to be up there for crazy mornings."
Schildhauer said she was grateful that the bathroom doors have a security code, otherwise the suspect might still be barricaded in there.
The other suspects, Jensen said, were seen running around near Camden and Leigh avenues. Deputies were searching backyards in the Cambrian district for them, as well as interviewing taxi and ride-sharing drivers to see if they know anything or saw something.
Smith said she expects to eventually track down the other two suspects.
"If they stole laptops, they aren't going to turn themselves in," she said.
NBC Bay Area's Michelle Roberts contributed to this report.