It's a really good game, but I think you should be able to keep your items that you find or buy if you go back to the top. Kinda makes it pointless to keep buying things just to lose them all if you leave. Obviously if you die you lose them.
Thank you for your feedback!
We have seen the issue and are discussing improvements.