Kobe, a kid working a summer construction job in Belgium whose crew found a buried stash of gold worth €9M or 10.5M USD in today's money, is the inspiration for this question. I'm assuming in that event, half goes to the property owner and it's 4 construction workers and a foreman splitting the other half. The rightful owner has 5 years to claim according to local law. What would you do while you wait that out?
I would start learning how to set it up in a way that I can live from passive income.
Or just slowly spend it, at my current standard of living it would last me many decades without having to work a single day, I would probably keep working but less hours.