They have to be filled in with proper material after being fully removed. If you want to build over it, full removal is required. When buried, pools can't support the weight of a building.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.