The bassist for the New York rock band Coheed and Cambria was expected to face a judge today for allegedly trying to rob an Attleboro pharmacy of drugs just hours before a show.

Michael Todd, 30, of Anaheim, Calif., was charged with armed robbery and drug possession.

His band was scheduled to open for Soundgarden at the Comcast Center in Mansfield Sunday night. However, Todd didn’t make it because he was instead in jail.

Police said he threatened a Walgreens pharmacist with an alleged bomb and demanded Oxycontin. He was given six bottles of the pain medication and fled in a taxi, police said.

Police were able to track down the taxi in Mansfield and arrested Todd.

The band posted on its Tumblr website a statement about the arrest.

“Michael Todd was arrested [Sunday] on what we consider very serious charges and therefore he will not be finishing up the current tour. Wes Styles, long time member of the Coheed family will take on bass duties starting [Monday] for the remaining dates. No shows will be canceled.

“We are surprised to say the least and will address the situation with Michael after the tour. For now, we just want to have a great time out here and finish with some killer shows in Boston, Poughkeepsie, Quebec City and Halifax,” the statement read.