Arborvitae leafminer pupae face toward the tip of the damaged leaf.
Damaged tip of arborvitae opened to show arborvitae leafminer pupa inside.

Photo by John A. Weidhass, Virginia Polytechnic Institute and State University, Bugwood.org