A method for cooling a product by means of a cooling machine (1) comprising: - a source (4) supplying a refrigerant; - a vent (32) for discharging the refrigerant; - a cooling chamber for receiving the product to be cooled; machine (1) within which the product is contained in a container (2), said container (2) being disposed within the cooling chamber, in which said method comprises an operation: - of cooling the cooling chamber by means of the refrigerant; - discharging the refrigerant fluid by means of the vent (32); the container (2) being in direct contact with the refrigerant.