When exercised there are fees and commissions of around 15 dollars to pay in addition to your stock purchase and option sell. The stock is taken and cash deposited in your account. The short option disappears at night and premium remains in account. The costs and taxes take any profit possible. Then talk to your accountant about wash sale rules.