IPFS exists entirely independently from Filecoin. There is no blockchain. Full stop.
That Filecoin uses some common tech with ipfs like libp2p and cids doesn’t change that.
If/when filecoin disappeared, ipfs would keep working exactly the same. Because ipfs does not have (or use or depends on) a blockchain.