forget SPELLNAME

This command will remove a spell from your memorized list.

This is often confused with master forget SPELLNAME which removes a spell from your mastered list.