A massive manhunt for a 13-year-old accused of double murder in North Carolina came to an end late Wednesday when the teen's mother turned him over to authorities after he showed up to his uncle's house asking for food and a shower, officials and family members said.

The Robeson County Sheriff's Office said on Facebook the escaped teen, identified only as Jericho W., was taken into custody around 10 p.m. after his mother turned him over to the U.S Marshals Service Fugitive Task Force.

The 13-year-old was scheduled to appear in court on Tuesday for two counts of first-degree murder and robbery with a dangerous weapons charge when he escaped around noon in the city of Lumberton. The juvenile court was being held at Robeson County Department of Social Service at the time, and Jericho W. was the custody of the North Carolina Department of Public Safety when he managed to get away, according to officials.

NORTH CAROLINA DOUBLE-MURDER SUSPECT, 13, ESCAPES AFTER COURT APPEARANCE, SPARKING MASSIVE SEARCH

The state agency said the teenager is now back in "secure custody" at the Cumberland Regional Juvenile Detention Center in Fayetteville.

While officials did not disclose where the teenager went after escaping, his mother, Nikki Jacobs, said he went to his grandmother's old home which is now abandoned, spent Tuesday night and all-day Wednesday there before finding a bicycle and riding it to his uncle's home, WRAL reported.

The teenager who identified custody, identified as Jericho W., is a suspect in the killings of two men. (North Carolina Department of Public Safety)

The teen's uncle, Wayne Lambert, told WRAL-TV that Jericho walked and followed the railroad tracks after he escaped before showing up at his house on Wednesday and asking for food and a shower.

"I just thank God that he came home to me and I was the one that could put my hands on him before the officials did or anybody else would hurt this child, because he’s not a very bad kid," Lambert told WRAL-TV. "He’s a respectful child."

Lambert told the television station that Jericho removed the shackles from his legs before spending the night at his grandmother's abandoned home.

"When I seen him, I said, 'Baby, you know what we got to do.' He said, 'Daddy, I don’t want to go back.' I said, 'I know you don’t, baby, and daddy don’t want to take you back, but you’re going to have to go.' I said, 'Do you understand me?' He said, 'yes, sir,'" he told WRAL.

ESCAPED MURDER SUSPECT APPARENTLY DODGES POLICE, EXITS MOTEL HIDEOUT: COPS

The teenager's escape sparked a massive manhunt in the region that included various helicopters and searches conducted by the North Carolina Department of Public Safety, U.S. Marshal Services, Robeson County Sheriff’s Office, Lumberton Police Department, Lumberton Rescue Dive Team and Deep Branch Fire Department Dive Team.

The Robeson County Sheriff's Office said that Sheriff Burnis Wilkins was "grateful for the outcome of this search and thanks everyone for their assistance during the investigation."

CLICK HERE FOR THE FOX NEWS APP

Jericho W. and a 19-year-old Derrick Deshawn Hunt were charged in October when deputies found two men, Frank Thomas, 34, and Adam Thomas, 33, dead in a home they shared, WRAL reported at the time.