Syntax:
CLOSE cursor_name

This statement closes a previously opened cursor. For an example, see
http://dev.mysql.com/doc/refman/5.1/en/cursors.html.

An error occurs if the cursor is not open.

If not closed explicitly, a cursor is closed at the end of the BEGIN
... END block in which it was declared.

URL: http://dev.mysql.com/doc/refman/5.1/en/close.html

