There are numerous cases discussed in this tractate where Yibbum does not apply, and therefore Haliysah does not apply either.
There are numerous exceptions discussed in this work where Yibbum is not applicable, and therefore Haliysah is also exempt.