Timebox your contributions and ensure you work less hours according to everyone. Even it it falls apart, you work for those hours to fix it. Then you leave. Who cares if it breaks more than you have time to fix? Nobody will die (probably) and everyone at that company gets paid to pull their weight. Time for them to do so.