Um, by trying to extend the play and eventually getting a sack/IG call, wasn't Josh playing until the whistle?
It was a bit boneheaded because he assumed he had a free play when he didn't, and he lost his composure and cursed at the refs - never a good thing.