DVI cable problem?

The G5 has been playing up recently but I can live with that, emailing the PDFs to myself and retrieving them on the Pro.
BUT: and its a big but, how on earth do you shut down a machine running Mavericks without a monitor, when the power button misbehaves?
AND: is the G5 blowing up my monitor cables when I shut it down? I'm afraid to go near the thing now!