I've generally just knocked mine apart with a large hammer and then reclaimed the soil from the raised bet. I now use 3-4 inch exterior screws to connect the corners. Moving in the future will be much easier and the screws hold much better than nails anyway.
Eclectic gardening style, drawing from 45 years of interest and experience. Mostly plant in raised beds and containers primarily using intensive gardening techniques.