Exit a market - it is not an error to exit a market which is not currently entered. Exited markets will not count towards account liquidity calculations.
Comptroller
1
function exitMarket(address aToken) returns (uint)
Copied!
msg.sender: The account which shall exit the given market.
aTokens: The addresses of the aToken market to exit.