The price of coffee rose sharply last month, while the quantity sold remained the same can be a result of several situations and therefor there are several explanations that are possible:
Demand increased, but supply was perfectly inelastic.
Demand increased, but supply decreased at the same time.
Supply decreased, but demand was perfectly inelastic.