We do not currently know of any antonyms for doing one's duty.
For similar words to doing one's duty, try: