Are you sure he thought there was a TO? If so, why did he think so?
I'm not seeing passing on a T for a coach running out into the middle of the floor to show excitement over a made basket. Few feet out of his box? Sure, probably. All the way to the key? Not with the information I have so far.
Varsity coach making this kind of mistake seems like incompetence. If he claimed he thought there was a TO I'd be more inclined to give him a T just for a terrible excuse. At least bend down and pretend like you're picking up something for the 'safety of the players.'
Rule: There is a coaching box for a reason.