Police officers and firefighters used a helicopter and thermal imaging to find a nine-year-old who ran away from home.