Escape, it seems, is a trait shared in the Guzman family.

So is embarrassing the government of Mexico.

Joaquin Guzman Loera, the drug lord known as El Chapo, eluded the grasp of the government numerous times – in tunnels, behind closets, beneath bathtubs and through steep ravines in the remote mountains of Sinaloa. He even managed to escape prison, twice.

The latest family member to escape apprehension – El Chapo’s son, Ovidio Guzman Lopez – managed his own feat of government humiliation this week, when cartel henchmen forced a patrol of at least 30 members of government forces to release him after he had been captured.

The stunning surrender – with Mexican forces badly outmatched, taken hostage by outlaws and forced to let loose a prominent suspect in their custody – began with a siege on the city of Culiacan on Thursday by members of the Sinaloa Cartel, once headed by El Chapo. Videos of fierce gun battles in the street, armed men blocking roads, residents fleeing to safety and clouds of black smoke rising from burning vehicles swamped social media.

Mexico seeks to halt heroin trade Show all 20 1 /20 Mexico seeks to halt heroin trade Mexico seeks to halt heroin trade A soldier burns an illegal opium plantation near Pueblo Viejo in the Sierra Madre del Sur, in the southern state of Guerrero, Mexico Reuters Mexico seeks to halt heroin trade Illegal opium plantation burning Reuters Mexico seeks to halt heroin trade Soldiers cut opium poppies as they destroy a field of illegal plantation Reuters Mexico seeks to halt heroin trade Poppy farmer Nieves Garcia reacts next to her husband, "We are not drug traffickers, we want a dignified life," said Garcia, who has grown poppies since she was a child. "My kids have left this place because there's no way of getting ahead." Reuters Mexico seeks to halt heroin trade Clouds over the Sierra Madre del Sur Reuters Mexico seeks to halt heroin trade Poppy farmer Francisco Santiago Clemente walks with his gun on his back in a corn field Reuters Mexico seeks to halt heroin trade Opium poppies burn after being set on fire to by the army Reuters Mexico seeks to halt heroin trade Soldiers arrive at the area where they found an illegal opium plantation Reuters Mexico seeks to halt heroin trade Poppy farmer Santiago Sanchez holds opium paste Reuters Mexico seeks to halt heroin trade Soldiers unload their weapons at the camp near the area where they found an illegal opium plantation Reuters Mexico seeks to halt heroin trade A soldier burns an illegal opium plantatio Reuters Mexico seeks to halt heroin trade A child sits on a sidewalk in Santa Cruz Yucucani Reuters Mexico seeks to halt heroin trade Soldiers destroy a field of illegal opium plantation Reuters Mexico seeks to halt heroin trade A woman tends to her opium poppy plant outside her house Reuters Mexico seeks to halt heroin trade A soldier waves to locals near the area Reuters Mexico seeks to halt heroin trade A soldier stands near residents as he arrives at the area where they found an illegal opium plantation Reuters Mexico seeks to halt heroin trade Soldiers camp near the area where they found an illegal opium plantation Reuters Mexico seeks to halt heroin trade Soldiers patrol the area of Pueblo Viejo Reuters Mexico seeks to halt heroin trade A soldier burns an illegal opium plantation near Pueblo Viejo Reuters Mexico seeks to halt heroin trade Soldiers cut opium poppies Reuters

Reports swirled that after the capture of the younger Mr Guzman, his cartel mounted a fierce assault to win his freedom and prevent his extradition to the United States. But the government remained silent, asking citizens to stay indoors and avoid being in the street throughout most of the day.

Later, it clarified, at least partially, saying a patrol had stumbled on Mr Guzman, but had suspended the operation when it became outnumbered and outgunned by enemy fighters. The next morning the truth came out, pried loose by local media. The patrol was actually a planned operation to capture Mr Guzman and extradite him to the United States, the government acknowledged Friday.

The armed forces managed to detain him, but they were forced to let him go after eight of their members were taken by force and held hostage, the government said. Surrounded by enemies, with no clear plan for backup on ground or in the air, and no clear exit strategy, the soldiers relented and gave Mr Guzman back.

“Decisions were made that I support, that I endorse because the situation turned very bad and lots of citizens were at risk, lots of people and it was decided to protect the life of the people,” President Andres Manuel Lopez Obrador said in a news conference Friday. “You cannot value the life of a delinquent more than the lives of the people.”

According to a former US official and another person briefed on the matter, the force behind the cartel’s rapid and effective response was yet another Guzman – El Chapo’s older son, Ivan, who has taken a prominent role in the cartel since his father was caught, extradited to the United States and sentenced to life in prison in July on drug, murder and money laundering charges.

They said that Ivan was initially captured by the military as well, but that his henchmen quickly overpowered the armed forces and secured his release. Once free, the elder brother then orchestrated a staggering show of force to secure the freedom of his brother, Ovidio.

The effort not only included holding soldiers hostage, but also kidnapping their families, according to the two people briefed on the matter, who were not authorised to speak publicly. Government press officers did not respond to requests for comment.

The cartel’s victory offered a frightening glimpse into the power wielded by organised crime in Mexico, distilling in a single, eight-hour stretch the extent to which the nation is held captive by criminal networks – without a plan to combat the scourge of violence that has brought the country to its deadliest point in decades.

Some wondered whether the public overpowering of the military will become a similar turning point for Mr Lopez Obrador. For many, the events of Thursday unfolded as if scripted by an overzealous screenwriter pushing the bounds of believability.

“No one could imagine such a bad Netflix show,” said Alejandro Hope, a security analyst in Mexico City. “This combination of actually capturing the guy and then releasing him? That’s new.”

It remained unclear how the government expected to detain a leader of one of the most powerful cartels in the world on its home turf without sufficient backup or adequate plans to extract themselves.

In his news conference Friday, Mr Lopez Obrador spent the majority of the time ignoring or avoiding the subject, while also dismissing criticism of the government’s embarrassing defeat at the hands of organised crime.

“You can’t fight fire with fire,” he said of the decision to hand Mr Guzman back to his cartel. “We do not want dead people, we do not want war. And this takes a lot to understand.”

Still, fighting fire with fire was, in the end, what happened. At least seven people died, including one civilian, and 16 were injured, according to Mexican security officials.

Mr Lopez Obrador’s security cabinet later put much of the blame on the soldiers themselves and acknowledged the operation had been poorly planned.

Public outrage has boiled over, not only at the embarrassing defeat but also at the government’s lacklustre strategy to combat the lawlessness.

“I can summarise this as a failure from the tactical to the strategic,” said Christian Ehrlich, a security expert with Riskop, a Mexican risk analysis firm.

From the beginning, Mr Lopez Obrador has struggled to confront the nation’s rising violence. After promising to remove the military from the streets, where confrontations with organised crime have only increased violence, he opted instead to create a new force, the national guard.

Mexican soldiers and others were transitioned to the new team, whose mandate was unclear from the start. With the army, navy and the federal police already deployed to hot spots across the country, the government has had a hard time articulating its vision for the role of the national guard.

In recent months, the new force has stumbled on its mission somewhat inadvertently – in response to pressure from President Donald Trump. Its task now largely focuses on policing the nation’s borders and apprehending migrants heading through Mexico on the way to the United States.

This task has drawn those forces into a new direction, apart from public security, which has left some areas with fewer resources.

Homicides have hit new records each year for the last two years. This year is no different: The nation is on track to suffer its worst run of murders since the government began to tally them.

Now, with the release of Mr Guzman by the armed forces, the government has suffered one of the most memorable defeats in its 13-year war on drugs.

“The events in Culiacan come after a week that began with the killing of 13 state police officers in Michoacan and a gun battle outside of Iguala in Guerrero that left 15 dead,” said Raul Benitez, a security expert at the National Autonomous University of Mexico. “What comes next?” he said.

In recent years, Mexico had grown adept at the capture of so-called kingpins, for better or worse. While the strategy has largely failed to quiet the violence, US and Mexican officials took comfort in knowing that it has succeeded in detaining and extraditing major figures.

Mr Guzman’s father, El Chapo, was arrested multiple times before he was sentenced to life in prison in the United States. Leaders of the Zeta Cartel, the Gulf Cartel and a long list of others have also been apprehended in coordinated action among law enforcement and the armed forces.

But, with the latest blunder, many fear the government’s decision to let Mr Guzman go under fire from the cartels will embolden them.

“The government was forced to accept the cartel’s control over the city and not confront them,” Mr Benitez said. “To the people of Culiacan, the president is sending a very tough message: The cartel is in charge here.”