Escape hatch
What you can do without the engine, and how you get paid if the operator stops serving the exchange.
Always available
cancelOrder(nonce): kill any order on chain at any time.withdraw(amount): take free collateral out directly. With open positions it needs a mark under 15 minutes old.
Request an exit
requestExit() asks the operator to close every position you hold. The operator serves it with serveExit, which moves your positions to the house backstop at the mark. The trade page shows the six-hour clock.
Freeze and exit
If an exit request is still unserved six hours later and the account still has positions, anyone can call freeze(account). The exchange stops: no more batches, funding or liquidations. Each market's mark is fixed at that moment (the oracle mark if under an hour old, else the last fill price).
After a freeze, every account calls exitFrozen(). It closes all positions at the frozen marks and pays the account's equity in USDC. No operator is involved.