If a call contract is assigned then the stock is sold the contracted strike price of the call. If a covered call is assigned then the stock that's owned is then sold.