Adjusting number of replica shards?

If I go from 1 to 0 will Elasticsearch free up the resources from the replica shard?