I recall that the coins will be returned if it doesn't confirm in 72 hours or something like that.
The bitcoin-qt client will keep trying to resend the tx forever until you remove it (my advice for a tx like that would be to use pywallet to delete it then wait for a day before trying to send another tx that has an appropriate fee).