Wallet to wallet in congested periods
You sent X BTC, and you will eventually receive X BTC.

There is no profit or market condition involved here. You hold the same amount of BTC before and after.

You can of course choose to sell those BTC, and if the market value goes up, then yes you can sell at a higher price when expressed in another currency. But this is entirely independent from you transferring coins.