Yes, people seem to forget that HELOCs are usually callable too.
If you have a $500k HELOC and have used $200k of it for something, the bank usually has the right to force you to start making principal repayments (not just interest), to change the interest rate, and/or even in extreme circumstances to “call” the loan and ask you to repay everything ASAP. Read your fine print.