Why would you declare a mayday?
Switch to manual flying and request vectors to the nearest suitable airport (suitable -- up to your very own interpretation there). No offence but have a lot of airline pilots forgotten how to fly manually? "Gear up and switch on the autopilot will you?"