Head resigns from community school