If you cannot log off an MAI-OC session normally, you can use the MAIDISC command and specify the session ID that you want to disconnect with. For example, to end the session with the CICSA application that was established above, enter the following command:
MAIDISC CICSA