If your landing clearance had been canceled, the controller should have stated "Cancel landing clearance, extend downwind". However, I don't blame you for being confused. I heard a trainee controller tell a pilot once,
"Extend downwind, make short approach!"
If in doubt, ask "Verify cleared to land?" or do as you did.