This has got to rank up there on a parent’s nightmares.

A nine-year-old boy in Brazil managed to sneak out of his house, get onto a plane, and fly 1,700 miles away without anyone being the wiser.

Little Emanuel apparently decided he wanted to visit family in another city in Brazil and planned the whole thing out. He even went so far as to Google “how to get on a plane unnoticed.”

His mother, Daniele Marques, says that she had checked on Emanuel Saturday morning around 5:30 a.m. and he was tucked into his bed. A couple of hours later, however, he had bolted for the airport.

Needless to say, Daniele was concerned and called the police. A search was conducted, in retrospect fruitlessly, yes, but it wasn’t until 10 p.m. that night that an airline official called and reported they had Emanuel and he was fine.

Authorities are investigating how Emanuel managed to get on the flight to begin with.

Conservatively speaking, Emanuel is also probably grounded until he’s 18.