I'm reminded of the end of Acts 4 after the gift of the Holy Spirit was given:
Acts of the Apostles 4:
31 And when they had prayed, the place was shaken where they were assembled together; and they were all filled with the Holy Ghost, and they spake the word of God with boldness.
32 And the multitude of them that believed were of one heart and of one soul: neither said any of them that ought of the things which he possessed was his own; but they had all things common.
33 And with great power gave the apostles witness of the resurrection of the Lord Yahushua: and great grace was upon them all.
34 Neither was there any among them that lacked: for as many as were possessors of lands or houses sold them, and brought the prices of the things that were sold,
35 And laid them down at the apostles' feet: and distribution was made unto every man according as he had need.
I don't think there was any coercion involved.
The beginning of the next chapter, Acts of the Apostles 5:1-11, details a couple selling what they had and giving it to the congregation, but it would seem they lied in saying that they were giving all their earnings.
Perhaps they were not at fault because they held back some of their money for themselves, but rather because they held it back under false pretense. It would seem they didn't even have to sell their property in the first place. This is my interpretation.
They lied to the Holy Spirit, and died for it.
Interesting pieces of Scripture!