Gold disappears is it possible

hello, I don’t know if it’s a bug, but for the second time it happened to me that I have less gold than I had. Is it possible that the gold disappears in the inventory? I had about 80-90M and now I have 28M and I didn’t do any tempering or mastering. I died several times in Pit. But for dying in Pit, the gold won’t disappear, will it? Thank you for your response.