Wiki additionally reveals the (not-)link to the assassination:
"Unfortunately, Lincoln's favor backfired. After his assassination, Barringer fell under suspicion due to his brief meeting with Lincoln less than two weeks prior. He was repeatedly questioned regarding any role he may have played in the conspiracy. He wasn't released from custody until late July, months after most other Confederate prisoners had been freed."