Sharding - with database up?

Is it possible to shard a database/collections with the database running?

I have a script with numinitialchunks specified and I’m told the database needs to be down for this to work.

Can I omit this and shard the database while it is still running?

There are records in the collections, so numinitialchunks will fail anyway.