Its a long time ago, but I had such issue with my mycelium wallet and the transaction got returned a lot earlier.
As mentioned by nc50lc, the default time is 14 days.
If your transaction was removed from the mempool earlier, that was probably because the mempool was so congested and the nodes removed your transaction due to reaching the maximum size of the mempool.