In some cases, there will be "loose ends" (matches that are not part of a square). Of course, the most desirable solutions have no loose ends, or the fewest possible.
You might doubt that four matches can be removed and still leave 9 squares -- but how many squares are in the original arrangement? (Not all of them are the same size. The spaces between the ends of the matchsticks are not squares, in case you were wondering.)