There is a 30 minutes guard given free, if you survived the attack from your opponent. This will give you a free attack on your opponents while your town hall still has the shield.
I made use of the guard while I go to loot the gold, elixir or dark elixir from my opponents. This will help me to expand my town hall.