Ceasefire prevents all combat on the entire map for its duration. Enemy units will not be able to damage your units or buildings. In addition, no one can build any building that attacks, though other types of buildings are allowed.

To call a temporary Ceasefire, left click the Ceasefire icon and then left click anywhere on the map.