So guard, pretty much, could be considered the same as 'fortifying a unit' in Civ III, it just sits there and does nothing. So if I have a mining starbase, I could set a fleet to guard it, but I always use sentry instead, because I prefer to know if there are approaching ships.