You can undelegate by delegating 0sp as newer delegations overwrite older ones. It then takes one week until you get your sp back.
Here is the link to undelegate all sp from me: 0sp
If you want to undelegate from another account simply replace 'zero-profit' in that link with the name of the account you are delegating to. To get an overview over your delegations look here.