Two days after he was shot, Andre Daly woke in a haze with a police officer standing by his hospital bed in Brooklyn.

“I’m thinking he’s going to talk about the incident that happened to me — how I got shot,” Mr. Daly, 29, recently recalled. But the officer was not there to interview Mr. Daly. He had come to arrest him over an unpaid summons.

“He’s telling me now I’m a prisoner of New York City because I have a warrant,” Mr. Daly said.

Mr. Daly spent more than a week immobilized, not just by his three bullet wounds, but also by a set of handcuffs and ankle restraints — all because of an unpaid $25 fine for possessing a cup of wine in public.

What happened to Mr. Daly in December was no fluke. The New York Police Department routinely performs warrant checks on shooting victims. If an outstanding warrant is found, the police generally handcuff and shackle the victim, often for the whole hospital stay, no matter how minor the underlying offense or how grievous the injuries.