A person who was hiding in a boxcar shot Detective Stewart in the head as he approached the train, killing him instantly.