Shutting-down of machines or engines