Slang used for a males masturbation, because an egg is hard with a liquid inside.
'I spent the night in my room so I could egg off'