Assignment

When the short-option seller is obligated to fulfil the contract.

Assignment happens when the buyer of an option exercises it and your broker selects your short position to fulfil the trade. For a short call you're forced to sell 100 shares at the strike; for a short put you're forced to buy 100 shares at the strike. Assignment is automatic and can occur any time before expiration for American-style options.