How did the Union soldiers escape from Libby Prison? They hid secret messages in the spines of books. They disguised themselves and tricked the guards. They created a credible cover story. They dug a tunnel, creating a passageway out of the prison.