It was torture, plain and simple. And the worst part of it all was that Draco couldn't ask anyone for help, because if people discovered he cast a dark curse at Potter they'd have him in a cell next to his father faster than he could say "Azkaban’.