When you open a position in a Future contract funds are set aside to meet the future contract's margin requirement. Cash is added and subtracted from your account for the running P&L of the open position in the currency the contract is denominated in. Once the contract is closed the margin is released and the P&L for the trade remains in that particular currency. Please note, IBKR will not convert the residual non-base currency from a closed trade so it is in your best interest to monitor your account's cash balances in your Account Window.
For more information, please visit the IBKR Knowledge Base.