The contract can be discharged by frustration if the detention lasts long enough for the frustration doctrine to be invoked.
The contract can be discharged by frustration. The detention lasts long enough for the frustration doctrine. This was to be invoked.