There’s a threshold fee at which miners accept fees. If you don’t meet the threshold fee to carry out the transaction, the transaction will time out and the funds will be returned to your wallet. Exercise patience if it’s just been in a few hours.