Do not try reducing the partition when it is mounted. You will end up losing all the data in that partition. You can increase the partition size online but reducing online is not recommended.
First, unmount the partition and repeat the same steps. That will work. Also, while reducing, you need to resize the partition as well.