Can a sailboat be propelled with a compressor installed on it when the air jet is directed towards the sails?

Can a sailboat be propelled with a compressor installed on it when the air jet is directed towards the sails? What happens if the air flow is directed past the sails?

If the air stream is directed towards the sails, the boat will not move, because the compressor and the boat will form a closed system. If the airflow is directed past the sails, the boat will move in the opposite direction to the airflow.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.