Will the contempt proceeding stop if the order is obeyed and the contempt is purged?

Probably. It's up to the judge and many circumstances can be involved. but, probably.