What happens to my profit if my funded account ends?
Profit you haven't requested is lost when the account ends.
If your funded account ends, because of a rule breach or 30 days without a closed trade, any profit you haven't requested as a payout is lost.
Request payouts regularly so you don't lose profit you've earned. See How do payouts work?.