I live near an airport, my mavic mini gave me a message about restricted altitude of 60 meters upon takeoff. When I flew closer to the airport and hit the NFZ the mini gave me a restricted zone message tried to land. I turned it around as it was landing and flew it back toward me and normal control resumed once I was out of the zone.