The gillyweed ran out too early. Thus necessitating his rescue at the hands (or should that be tentacles?) of a rather unexpected source.
A short drabble centered around the Hogwarts Sorting Hat.