You can request an upgrade from a Cash account to a Margin account while tagged as having been Free Riding in Client Portal, as described in Client Portal Users' Guide. Remember that it may take IBKR's Compliance a few days or longer to review your account to see if you qualify for a margin type account. If approved as a margin account then any funds from trades executed while the account was still a Cash account will not be available in the margin account for new orders until those prior trades have fully settled. Then going forward you can trade using unsettled funds in your margin account.
Additional Information