If you're developing in Python, it'd go something like:
import pymongo
connection = pymongo.Connection()
# substitute your own db and collection names
db = connection.database_name
coll = db.collection_name
coll.drop()
# recreate whatever indexes you need ...
coll.create_index([('key', 1)])
db.command("shardcollection", "collection_name", key={'my_shard_key': 1})