Lost my ETh from error

I tried to make a switch on uni swap and it just took my gas fees and didn’t transfer over my coins to ethereum. Now i can’t transfer my tokens at all because that was the only amount of gas i had. How can i get my gas fees back? It was a error i don’t understand how it can keep my gas fees