The vehicle's owner paid for the petrol using a credit card, said the Malaysian ministry.
Many netizens agreed that layoffs have become a normal part of modern working life.
The teacher had baited the unusual thief with more eggs.
A new trend?
The money was intended for his visa processing as a seafarer.
According to MOM, employees who have worked for at least three months are entitled to maternity protection in Singapore.
Some netizens feel that such issues are worse in other countries.
"I thank Singaporeans for their kind support and hope to serve them in areas other than opposition politics," he said.
"Singapore, it has been an honour. Thank you for everything," it said.
A 53-year-old male car driver is assisting with police investigations.