When transactions are purged from the mempool, they are no longer stored in the memory and are effectively removed from the waiting area. If your transaction gets purged from the mempool, it means it was never included in a block, and the funds will still be available in your wallet. You can simply create a new transaction with the same inputs and outputs to try to send the funds again. However, keep in mind that if your transaction has a low fee, it may not be included in a block for a long time, or may not be included at all, so it's important to set an appropriate fee to ensure timely confirmation.