Chilling surveillance footage shows the suspect in the murder of “Top Gun: Maverick” actor James Handy walking away from the bloody scene before returning and giving himself up to police.

Michael Gledhill, the 44-year-old son of Handy’s girlfriend, was seen on a neighbor’s doorbell camera sauntering down the sidewalk away from the front lawn of a Los Angeles home where the actor was repeatedly stabbed in the chest, according to video obtained by Fox 11 Los Angeles.

Gledhill could then be seen returning to the residence — where he lives with his mother — when Los Angeles police said he flagged officers down and told them he was the man they were looking for, the video shows.

Los Angeles police said officers rushed to the home around 9:30 a.m. Thursday after a 911 caller horrifyingly claimed, “I am the son of man, I just killed the man of sin.”

Handy, 81, was found unconscious and bleeding from a stab wound to the chest outside the home. He was rushed to a local hospital, where he was pronounced dead.

Gledhill was arrested and charged with murder. His bail has been set at $2 million, cops said.

The motive for the slaying remains under investigation.

Handy had a long career as a character actor that began in the 1970s. His most recent role was in the Hollywood blockbuster sequel  “Top Gun: Maverick,” where he played a bartender named Jimmy.

He also was known for his role in “Jumanji,” the 1995 cult classic starring Robin Williams, in which he played an exterminator.