Neil Patrick Harris wrapped up his nine-year run as How I Met Your Mother‘s Barney on Thursday with…short shorts?!

In the following behind-the-scenes photo of the actor filming his final scene (as director/executive producer Pam Fryman and the crew give him a round of applause), Harris is seen wearing a very casual outfit in lieu of one of his character’s classic suits.