How did Jack get the Black Queen's ring again?

He killed her because she made him wear a silly hat.