Pools can be closed at any time through the borrower making full repayment (borrowed amount + interest). However, lenders can still withdraw liquidity from a closed pool, the pool will still appear in the app when the corresponding lender wallet is connected.