Years ago, when my sons were young, I put up the obligatory BB Goal. I remembered all the windows my brothers and I had broken out of the garage door with errant shots, so I went to the side of the drive.
I realized that the boys would, in a very short few years, out grow the need for the goal. I fabricated a sleeve with a short tapered section at the bottom and 3 large set screws near the top. I concreted the sleeve firmly into the ground with top just a couple of inches below the surface. After the concrete set, I dropped the goal's post into the sleeve, tightened the big set screws, then leveled the dirt.
The goal did its job perfectly for years. When it was no longer needed, I just scraped back the dirt, loosened the set screws, and pulled the post out. I covered the top of the sleeve with some kind of plastic lid just in case it might be needed in the future (grand kids maybe?). Then covered it up. A handful of grass seed and a few weeks, you couldn't tell it was ever there.
The goal still resides in my basement waiting for some bundle of energy that needs an outlet.