It will not be lost as that is not possible

You can always use RBF with electrum if you are afraid that your transaction will be stuck. This exact same thing happened to me and I had to switch wallets temporarily just so my tx could be mined.
At worst if your tx does not go through and RBF does not work don't worry as it will not loop within blocks. Instead, your tx will be cancelled and your funds returned to your wallet after I believe one month since the initial spend.