Wing commander bids farewell during final flight