A Storm of Swords
After arriving to Castle Black, Janos Slynt judges Jon Snow a turncloak and orders Ser Alliser Thorne to put him in an ice cell. Jon spends the next four days in a small ice cell too small for him to stand and too tight for him to strech out on his back.
A Dance with Dragons
When Janos refuses to obey an order from Jon, the newly elected Lord Commander of the Night's Watch, Jon considers putting him in an ice cell for a moment. In the end, Jon beheads Janos with Longclaw.
Jon arrests Cregan Karstark and his men before they arrive at Castle Black and claim guest right. The captives are thrown into ice cells. The strong Cregan weakens during his ice imprisonment. When rising snows start to block the entry to the cells, the prisoners are moved to the undervault of the Lord Commander's Tower.