My friends dog used to forget to breathe when it went swimming in the river, so he trained it to be breathe when he shouted "breathe" at it.

It was pretty funny.

I highly doubt you did forget to breathe though, its a sub concious thing, you can stop it, you have no control...