Your profit is left over in Yen because you traded USD.JPY. If you want your profit in USD, you need to trade JPY.USD, only that's not the standard convention used in the forex market.
The alternative is to calculate how many dollars you should buy/sell to exit a trade and clear out all of...